API Reference@grafana/dataGrafanaPlugin

GrafanaPlugin class

Signature

export declare class GrafanaPlugin<T extends PluginMeta = PluginMeta> 

Import

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

Constructors

ConstructorModifiersDescription
constructor()Constructs a new instance of the GrafanaPlugin class

Properties

PropertyModifiersTypeDescription
angularConfigCtrlany
configPagesArray<PluginConfigPage<T>>
loadErrorboolean
metaT

Methods

MethodModifiersDescription
addConfigPage(tab)
setChannelSupport(support)

constructor()

Constructs a new instance of the GrafanaPlugin class

Signature

constructor();

angularConfigCtrl property

Signature

angularConfigCtrl?: any;

configPages property

Signature

configPages?: Array<PluginConfigPage<T>>;

loadError property

Signature

loadError?: boolean;

meta property

Signature

meta: T;

addConfigPage method

Signature

addConfigPage(tab: PluginConfigPage<T>): this;

Parameters

ParameterTypeDescription
tabPluginConfigPage<T>

Returns:

this

setChannelSupport method

Signature

setChannelSupport(support: any): this;

Parameters

ParameterTypeDescription
supportany

Returns:

this