The ld-sidenav-subnav component is a subcomponent for ld-sidenav.
Please refer to the ld-sidenav documentation for usage examples.
| Property | Attribute | Description | Type | Default | 
|---|---|---|---|---|
key | 
key | 
for tracking the node's identity when working with lists | string | number | 
undefined | 
label | 
label | 
Used in the ld-sidenav-back component to display parent nav label. | string | 
undefined | 
ref | 
ref | 
reference to component | any | 
undefined | 
scrollToTop(smoothly?: boolean) => Promise<void> #Scrolls the subnav scroll container to the top.
Type: Promise<void>
| Part | Description | 
|---|---|
"scroll-container" | 
graph TD;
  ld-sidenav-subnav --> ld-sidenav-scroller-internal
  ld-sidenav-scroller-internal --> ld-sidenav-separator
  style ld-sidenav-subnav fill:#f9f,stroke:#333,stroke-width:4px