Lion Logo Lion Fundamentals Guides Components Blog Toggle darkmode

Accordion: API Table

class: LionAccordion, lion-accordion

Fields

NamePrivacyTypeDefaultDescriptionInherited From
focusedIndexpublicnumberindex number of the focused accordion
expandedpublicarrayarray of indices of the expanded accordions
exclusivepublicbooleanfalseexclusive property allows only one accordion slot to be open at a time

Methods

NamePrivacyDescriptionParametersReturnInherited From
_setupContentprotectedentry: StoreEntry
_setupInvokerprotectedentry: StoreEntry
_cleanInvokerprotectedentry: StoreEntry
_focusInvokerprotectedentry: StoreEntry
_unfocusInvokerprotectedentry: StoreEntry
_collapseprotectedentry: StoreEntry
_expandprotectedentry: StoreEntry

Attributes

NameFieldInherited From
focusedIndexfocusedIndex
expandedexpanded
exclusiveexclusive