mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 10:54:49 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
34 lines
758 B
Markdown
34 lines
758 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# 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
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export declare function eventFactory<T = undefined>(name: string): AppEvent<T>;
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { eventFactory } from '@grafana/data';
|
|
```
|
|
<b>Parameters</b>
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| name | <code>string</code> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
`AppEvent<T>`
|
|
|