type-alias
Source: eventHandler.ts ↗
DashboardEventHandler
Event handlers can be registered for a dashboard.
export type DashboardEventHandler<TEvents extends DashboardEvents | ICustomDashboardEvent = any> = {
eval: DashboardEventEvalFn;
handler: DashboardEventHandlerFn<TEvents>;
};
References: DashboardEvents, ICustomDashboardEvent, DashboardEventEvalFn, DashboardEventHandlerFn
Remarks
All events that occur during dashboard processing will be evaluated against all registered handlers and if evaluation succeeds they will be dispatched to the handler function.