Timer

This component displays a timer.

Public Variables (Properties)

[?]

The Timer component has the following basic properties and property groups that are common to all components:

Name, Advanced Properties, Container Properties, Styles, Preloader, Events, Bindings, Tooltip.

Running

This flag indicates if the timer active.

Variable Name:

run

Records:

1

Record Format:

Field Name

Field Type

Field Description

run

Boolean

Running

Start Time

Initial time to display on the timer.

Variable Name:

startTimeMs

Records:

1

Record Format:

Field Name

Field Type

Field Description

startTimeMs

Long

Start Time

Target Time

Time at which the timer fires the Target Time Reached event.

Variable Name:

targetTimeMs

Records:

1

Record Format:

Field Name

Field Type

Field Description

targetTimeMs

Long

Target Time

Timer Type

The type of timer. This property has two selection values:

  • Timer - increasing counter

  • Stopwatch - decreasing counter

Variable Name:

componentType

Records:

1

Record Format:

Field Name

Field Type

Field Description

componentType

String

Timer Type

Synchronization Period

The frequency of sending messages about the timer status to the web browser console.

Variable Name:

syncPeriodMs

Records:

1

Record Format:

Field Name

Field Type

Field Description

syncPeriodMs

Long

Synchronization Period

Public Events

[?]

Target Time Reached

This event is fired when the timer equals the Target Time.

Event Name:

breakpointReached

Records:

0

Was this page helpful?