The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/data/navmodel.md

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;