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

PropertyTypeDescription
basenamestringbase URL segment for an app, /app/pluginId
metaAppPluginMeta<T>
onNavChanged(nav: NavModel) => voidPass the nav model to the container… is there a better way?
pathstringThe URL path to this page
queryKeyValueThe 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;