Event shape
Events emitted by Omni use thepostMessage protocol and will have the following shape:
Listening for events
Subscribe to events in the parent frame with the following:Supported events
Omni currently emits the following events:| Event | Description |
|---|---|
dashboard:download | Emitted by Omni when a user downloads an embedded dashboard. |
dashboard:filters | Emitted by Omni when a user applies a filter to an embedded document. |
dashboard:tile-download | Emitted by Omni when a user downloads a given tile on a dashboard. |
error | Emitted by Omni when a detectable error occurs on an embedded page. |
page:changed | Emitted by Omni when the URL of a page changes. |
size | Emitted by Omni on dashboard load to give the size of the frame, allowing users to dynamically size the iframe. |
status | Emitted by Omni to indicate the status of the dashboard to the parent frame. |