Listening events
Access dashboard settings via event handlers
Overview
Registering for an event
ubidots.on('<event>', function(payload) {
// your logic here
});Available events
Event
Triggered when
Argument
Payload reference
Device object
Timeframe object
Filters array
Dashboard object
Class properties
Property
Populated by
Examples
Fetch device data whenever the selection changes
Sync a custom date picker with the dashboard
Gate rendering on ready, then use token for API calls
Last updated
Was this helpful?