This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataAppRootProps

AppRootProps interface

Signature

export interface AppRootProps<T = KeyValue> 

Import

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

Properties

Property Type Description
basename string base URL segment for an app, /app/pluginId
meta AppPluginMeta<T>
onNavChanged (nav: NavModel) => void Pass the nav model to the container… is there a better way?
path string The URL path to this page
query KeyValue The URL query parameters

basename property

base URL segment for an app, /app/pluginId

Signature

basename: string;

meta property

Signature

meta: AppPluginMeta<T>;

onNavChanged property

Pass the nav model to the container… is there a better way?

Signature

onNavChanged: (nav: NavModel) => void;

path property

The URL path to this page

Signature

path: string;

query property

The URL query parameters

Signature

query: KeyValue;