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
AppRootProps interface
Signature
typescript
export interface AppRootProps<T = KeyValue> Import
typescript
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
typescript
basename: string;meta property
Signature
typescript
meta: AppPluginMeta<T>;onNavChanged property
Pass the nav model to the container… is there a better way?
Signature
typescript
onNavChanged: (nav: NavModel) => void;path property
The URL path to this page
Signature
typescript
path: string;query property
The URL query parameters
Signature
typescript
query: KeyValue;Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Scroll for more