Kern 0.12.0 GitHub
Layout

<kern-accordion-item>

One collapsible section of kern-accordion, on the native <details>/<summary> (Enter/Space toggle, announced as expanded/collapsed).

Examples

See the examples on kern-accordion.

Properties

disabledreflectsdefault false
boolean

Cannot be toggled.

heading
string | undefined
openmutablereflectsdefault false
boolean

Events

kernToggle
CustomEvent<{ open: boolean; }>

After opening or closing by the user.

Slots

(default)

Content

heading

Heading content (instead of heading), e.g. with a kern-badge

CSS parts

content

The content area

summary

The clickable heading row