Progress Bar widget events
- Last UpdatedMar 03, 2026
- 1 minute read
The Progress Bar widget supports the following events:
On Initialize
Use scripts on the onInitialize event of a Progress Bar widget to accomplish a specific operation after the widget is initialized but before it's rendered to the UI.
You can fetch values from the database, configure and design progress bar, and call the data property to create and initialize the progress bar.
For example scripts, see Example 1 and Example 2 in Data.
On Timer Refresh
Use scripts on the onTimerRefresh event of a Progress Bar widget to accomplish a certain operation such as updating the widget's data.
A repeated timer can be activated with the enableTimerRefresh element set to true and X number of seconds is set for the timerRefreshRate under the bar setting of the data property.
The onTimerRefresh event is triggered repeatedly at the end of each duration. You can get the latest value from the database and call the updateData property to update its data.
On Refresh
Use scripts on the onRefresh event of a Progress Bar widget to trigger the refresh property. Through this event you can call data or updateData propery to create new session or update the widget's data.
For example script, see Refresh.