GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.1.0
  • Code samples
  • GitHub

addCustomEventHandler()

Home > @gooddata/sdk-ui-dashboard > IDashboardEventHandling > addCustomEventHandler

IDashboardEventHandling.addCustomEventHandler() method

Adds a custom event handler. This is a lower-level API where the handler can include both the function to evaluate events and the function to trigger when the evaluation succeeds.

Signature:

addCustomEventHandler(handler: DashboardEventHandler): IDashboardEventHandling;

Parameters

Parameter

Type

Description

handler

DashboardEventHandler

event handler to add

Returns:

IDashboardEventHandling

self, for call chaining sakes

Remarks

Attempts to register same handler twice will be ignored.

  • IDashboardEventHandling.addCustomEventHandler() method
  • Parameters
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use