+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "eventFactory" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++ ## eventFactory() function ### eventFactory() function Signature ```typescript export declare function eventFactory(name: string): AppEvent; ``` Import ```typescript import { eventFactory } from '@grafana/data'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | name | string | | Returns: `AppEvent`