app-layout/src/app-sidenav/app-sidenav.types.ts
Represents a single item in the global side-navigation.
Used by
import { SidenavItem } from '@talenra/components/app-layout';
Properties |
|
| children |
children:
|
Type : SidenavItem[]
|
| Optional |
|
An array of sub-navigation items. If sub-navigation items are available, a second level menu is added. Note that the side-navigation currently supports only one level of sub-navigation. |
| counter |
counter:
|
Type : number
|
| Optional |
|
A counter value attached to the label (visually represented as badge/call-out). Typically a number that represents the number of items contained in this navigation item. |
| destination |
destination:
|
Type : string
|
| Optional |
|
Link to an internal resource (e.g. |
| icon |
icon:
|
Type : string
|
|
Identifier of the icon displayed. A list of all icons supported is
included in the README of package |
| identifier |
identifier:
|
Type : string
|
| Optional |
|
Optional string to identify the SidenavItem. |
| isExpanded |
isExpanded:
|
Type : boolean
|
| Optional |
|
Boolean indicating whether the item's children are expanded. Has no effect if the item has no children. |
| label |
label:
|
Type : string
|
|
Label displayed to the user |