DashboardEventHandler
Home > @gooddata/sdk-ui-dashboard > DashboardEventHandler
DashboardEventHandler type
Event handlers can be registered for a dashboard.
Signature:
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.