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.
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;