Index

mmo-accordion

1 symbol · generated 30 Sep 2026

element

mmo-accordion

mmo-accordion.jhs:1

Accordion element to display a list of accordions

<mmo-accordion open></mmo-accordion>
Extends
CustomShadowElement

Index

openif true, the accordion is open
open accessorGet the open of the accordion
init()
openAll()Open all the accordions
closeAll()Close all the accordions
titlethe row that opens and closes the section
(default)the section itself, revealed when it is open
.emptythe section has nothing to open: the row stays, the chevron and the body go
.gridlay the content out as a grid, with as many columns as the screen can carry
.listthe titled-panel form: a filled header over a framed body
.multipleshow the "open them all / close them all" button on the header row

Attributes1

Properties1

Methods3

Slots2

CSS hooks4

.empty

mmo-accordion.jhs

the section has nothing to open: the row stays, the chevron and the body go

.empty

.grid

mmo-accordion.jhs

lay the content out as a grid, with as many columns as the screen can carry

.grid

.multiple

mmo-accordion.jhs

show the "open them all / close them all" button on the header row

.multiple