GrafanaPlugin class

Signature

  1. export declare class GrafanaPlugin<T extends PluginMeta = PluginMeta>

Import

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

  1. constructor();

angularConfigCtrl property

Signature

  1. angularConfigCtrl?: any;

configPages property

Signature

  1. configPages?: Array<PluginConfigPage<T>>;

loadError property

Signature

  1. loadError?: boolean;

meta property

Signature

  1. meta: T;

addConfigPage method

Signature

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

Parameters

ParameterTypeDescription
tabPluginConfigPage<T>

Returns:

this

setChannelSupport method

Signature

  1. setChannelSupport(support: any): this;

Parameters

ParameterTypeDescription
supportany

Returns:

this