Documentation / @ripl/vue-charts / RiplChartListener
Type Alias: RiplChartListener<TPayload> ​
RiplChartListener<
TPayload> = (payload,event) =>void
Defined in: vue-charts/src/types.ts:11
A forwarded chart event listener. Receives the event's payload directly, with the underlying Event — carrying target, timestamp and stopPropagation — as a second argument.
Type Parameters ​
| Type Parameter | Description |
|---|---|
TPayload | The payload the event carries. |
Parameters ​
| Parameter | Type |
|---|---|
payload | TPayload |
event | Event<TPayload> |
Returns ​
void