Skip to content

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 ParameterDescription
TPayloadThe payload the event carries.

Parameters ​

ParameterType
payloadTPayload
eventEvent<TPayload>

Returns ​

void