The ld-sidenav-accordion component is a subcomponent for ld-sidenav.
Please refer to the ld-sidenav documentation for usage examples.
| Property | Attribute | Description | Type | Default | 
|---|---|---|---|---|
expanded | 
expanded | 
Indicates that the accordion section is expanded. | boolean | 
undefined | 
key | 
key | 
for tracking the node's identity when working with lists | string | number | 
undefined | 
preserveState | 
preserve-state | 
Set to false to make the accordion collapse on sidenav collapse or slide change. | boolean | 
true | 
ref | 
ref | 
reference to component | any | 
undefined | 
split | 
split | 
Split the accordion toggle in two parts with the second part containing the caret icon and being responsible for expanding / collapsing the accordion panel. | boolean | 
undefined | 
| Event | Description | Type | 
|---|---|---|
ldSidenavAccordionTransitionEnd | 
Emitted on accordion expand or collaps transition end. | CustomEvent<any> | 
graph TD;
  ld-sidenav-accordion --> ld-accordion
  ld-sidenav-accordion --> ld-accordion-section
  ld-sidenav-accordion --> ld-accordion-toggle
  ld-sidenav-accordion --> ld-accordion-panel
  ld-accordion-toggle --> ld-icon
  style ld-sidenav-accordion fill:#f9f,stroke:#333,stroke-width:4px