Event Listeners
Last updated
Was this helpful?
Last updated
Was this helpful?
Widgets support various events that can be triggered during different stages of their lifecycle. Here are some common events:
onLoad : Triggered when the widget is fully loaded.
onTilesUpdated : Triggered when the tile data changes.
onResize : Triggered when the user resizes the widget.
onLoadMore : Triggered when more tiles need to be loaded.
onTileExpand : Triggered when a tile is expanded or collapsed.
onTileClose : Triggered when a tile is closed.
Events are frequently updated, and can be found here:
You can attach custom callback functions to these events using the callbacks
property in your widget settings. For example: