File

app-layout/src/app-sidenav/app-sidenav.types.ts

Description

Represents a single item in the global side-navigation.

Used by

Import

Example :
import { SidenavItem } from '@talenra/components/app-layout';

Index

Properties

Properties

children
children: SidenavItem[]
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: number
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: string
Type : string
Optional

Link to an internal resource (e.g. /foo).

icon
icon: string
Type : string

Identifier of the icon displayed. A list of all icons supported is included in the README of package @talenra/icons.

identifier
identifier: string
Type : string
Optional

Optional string to identify the SidenavItem.

isExpanded
isExpanded: boolean
Type : boolean
Optional

Boolean indicating whether the item's children are expanded. Has no effect if the item has no children.

label
label: string
Type : string

Label displayed to the user

results matching ""

    No results matching ""