Menu
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Enterprise
Open source
NavModelItem interface
Signature
typescript
export interface NavModelItem Import
typescript
import { NavModelItem } from '@grafana/data';Properties
| Property | Type | Description |
|---|---|---|
| active | boolean | |
| breadcrumbs | NavModelBreadcrumb[] | |
| children | NavModelItem[] | |
| divider | boolean | |
| hideFromMenu | boolean | |
| hideFromTabs | boolean | |
| icon | string | |
| id | string | |
| img | string | |
| parentItem | NavModelItem | |
| showOrgSwitcher | boolean | |
| subTitle | string | |
| target | string | |
| text | string | |
| url | string |
active property
Signature
typescript
active?: boolean;breadcrumbs property
Signature
typescript
breadcrumbs?: NavModelBreadcrumb[];children property
Signature
typescript
children?: NavModelItem[];divider property
Signature
typescript
divider?: boolean;hideFromMenu property
Signature
typescript
hideFromMenu?: boolean;hideFromTabs property
Signature
typescript
hideFromTabs?: boolean;icon property
Signature
typescript
icon?: string;id property
Signature
typescript
id?: string;img property
Signature
typescript
img?: string;parentItem property
Signature
typescript
parentItem?: NavModelItem;showOrgSwitcher property
Signature
typescript
showOrgSwitcher?: boolean;subTitle property
Signature
typescript
subTitle?: string;target property
Signature
typescript
target?: string;text property
Signature
typescript
text: string;url property
Signature
typescript
url?: string;Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Scroll for more