Skip to main content
Emitted by Omni when the value of one or more controls on an embedded dashboard changes. The payload has only the controls that changed, so your page can react to a single control without comparing two dashboard:controls payloads. Omni sends this event right after the dashboard:controls event that it compares, and only when at least one control changed:
  • When the dashboard loads, every control is reported as added. A dashboard with no controls doesn’t send this event.
  • When a parent control changes, each child control whose value follows the parent is also reported as updated.
  • When only the URL changes, such as a new asUrlSearchParam for a child control or a new urlId, Omni doesn’t send this event. The value didn’t change. Omni still sends a new dashboard:controls event.

Payload

Properties

object
Change object keyed by the control’s ID.

Example

This example shows a timeframe control that changed from month to week:
This example listens for the event and logs the new value of each control that changed: