Skip to main content

Timer

The Timer Control is a specialized custom component designed to offer a stopwatch-like feature within an application, allowing the use of various timer formats. By adjusting the ticker interval settings, you can create captivating functionalities, such as those found in quiz apps, online examination apps, Pomodoro technique timers, and more.

Timer
Timer

Properties

PropertyDescription
Auto StartToggle switch ON to automatically start the timer when the screen loads.
Start / Stop buttonToggle switch ON to display the Start / Stop button for manual control of the timer. Enabling this option will activate the Button Style properties.
Ticker interval (ms)Set the interval in milliseconds for the ticker in the timer.
Alarm interval (ms)Set the interval in milliseconds for the alarm in the timer.
Display formatCustomize the time display format according to your use case.
Timer PropertiesCustomize the timer label by adjusting the text size, weight (Light, Normal, Bold, Extra Bold, X Extra Bold), alignment (Left, Center, Right, Justified), and color of the label.

Button

PropertyDescription
Start LabelSet or change the label for the Start button.
Stop LabelSet or change the label for the Stop button.
Resume LabelSet or change the label for the Resume button.
Reset LabelSet or change the label for the Reset button.
TextCustomize the label by adjusting the text size, weight (Light, Normal, Bold, Extra Bold, X Extra Bold), alignment (Left, Center, Right, Justified), and color of the label.
BorderSet the border color and the button layout or style as Outlined, Filled, or Dashed Outline.

Control Output

The outputs from the Timer control, represented by the placeholder {{timer}}, can be referenced in other controls, data queries, or JavaScript functions using the control's unique name.

OutputDescription
timerRepresents the time available in the Timer control.

Events

TriggerDescription
on_startEvent triggered when you click the Start button.
on_stopEvent triggered when you click the Stop button.
on_resetEvent triggered when you click the Reset button.
alarm_intervalAlarm event periodically triggered after the specified time in milliseconds to define the action to be repeated within the alarm interval.