mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
46 lines
923 B
Markdown
46 lines
923 B
Markdown
|
+++
|
||
|
# -----------------------------------------------------------------------
|
||
|
# Do not edit this file. It is automatically generated by API Documenter.
|
||
|
# -----------------------------------------------------------------------
|
||
|
title = "AppEvent"
|
||
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
||
|
type = "docs"
|
||
|
draft = true
|
||
|
+++
|
||
|
|
||
|
## AppEvents.AppEvent interface
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface AppEvent<T>
|
||
|
```
|
||
|
<b>Import</b>
|
||
|
|
||
|
```typescript
|
||
|
import { AppEvents } from '@grafana/data';
|
||
|
const { AppEvent } = AppEvents;
|
||
|
```
|
||
|
<b>Properties</b>
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [name](#name-property) | <code>string</code> | |
|
||
|
| [payload](#payload-property) | <code>T</code> | |
|
||
|
|
||
|
### name property
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
readonly name: string;
|
||
|
```
|
||
|
|
||
|
### payload property
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
payload?: T;
|
||
|
```
|