This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataeventFactory

eventFactory() function

eventFactory() function

Signature

export declare function eventFactory<T = undefined>(name: string): AppEvent<T>;

Import

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

Parameters

Parameter Type Description
name string

Returns:

AppEvent<T>