grafana/docs/sources/packages_api/data/navmodel.md
Marcus Andersson cc3fc18076
Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

1.7 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "NavModel" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++

NavModel interface

Interface used to describe different kinds of page titles and page navigation. Navmodels are usually generated in the backend and stored in Redux.

Signature

export interface NavModel 

Import

import { NavModel } from '@grafana/data';

Properties

Property Type Description
breadcrumbs NavModelItem[] Describes breadcrumbs that are used in places such as data source settings., folder page and plugins page.
main NavModelItem Main page. that wraps the navigation. Generate the children property generate tabs when used with the Page component.
node NavModelItem This is the current active tab/navigation.

breadcrumbs property

Describes breadcrumbs that are used in places such as data source settings., folder page and plugins page.

Signature

breadcrumbs?: NavModelItem[];

main property

Main page. that wraps the navigation. Generate the children property generate tabs when used with the Page component.

Signature

main: NavModelItem;

node property

This is the current active tab/navigation.

Signature

node: NavModelItem;