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

Signature

typescript
export interface NavModelItem 

Import

typescript
import { NavModelItem } from '@grafana/data';

Properties

PropertyTypeDescription
activeboolean
breadcrumbsNavModelBreadcrumb[]
childrenNavModelItem[]
dividerboolean
hideFromMenuboolean
hideFromTabsboolean
iconstring
idstring
imgstring
onClick() => void
parentItemNavModelItem
showOrgSwitcherboolean
subTitlestring
targetstring
textstring
urlstring

active property

Signature

typescript
active?: boolean;

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;

onClick property

Signature

typescript
onClick?: () => void;

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;