Name
Description
Type
Default
Nameactive
Description
If the accordion item should be opened by default
Type
boolean
Default
false
NameautoHeight
Description
If expanded height should be automatically calculated. If set, the --sc-accordion-item-body-max-height
CSS variable will be set automatically to the content height
Type
boolean
Default
true
Nameheading
Description
Heading text.
This will be overwritten by heading
slot
Type
string
Default
null
NameheadingTag
Description
The HTML tag to be applied to the heading text.
This will be overwritten by heading
slot
Type
string
Default
'h3'
Event
Description
Event detail
Eventclosed
Description
Emitted when accordion item has closed
Event detail
any
Eventclosing
Description
Emitted when accordion item started closing
Event detail
any
Eventopened
Description
Emitted when accordion item has opened
Event detail
any
Eventopening
Description
Emitted when accordion item started opening
Event detail
any
Comments
Leave your thoughts here and it becomes a GitHub issue! Thanks to the magic of Utterances