Timer
Creates an alert that is triggered by a time-related event. For example, before closing a page after a specified time interval has elapsed.

null

Extends:
com.ibm.bpm.coach.CoachView
Methods:

Inherited addClass(name, [replaced])
Add or replace the CSS classes for this view.
Example

getTicks() Returns: {integer}
Returns the current number of timer ticks

getTimeout() Returns: {integer}
Gets the timeout value (milliseconds)

getType() Returns: {string}
Get descriptive string representing the type of control

isRepeatable() Returns: {boolean}
gets the value of the Repeatable flag

isRunning() Returns: {boolean}
Indicates whether or not the timer is started

Inherited propagateUpValueChange(event) Returns: {boolean}
Propagate the value change of the view up through the parent views.
Example

resetTicks([ticks])
Sets the current number of timer ticks to the specified value or 0 when unspecified

Inherited setLabelVisible(visible)
Show or hide the view label.
Example

setRepeatable(flag)
sets the Repeatable flag

setTimeout(timeout)
Sets the timeout value (milliseconds)

Inherited setViewData(data, createPseudoBinding)
Set or update the bound data associated with the view. It applies only to views with bound data.

Note: It should only be used with simple type bindings, or complex type bindings with simple type properties.
It should not be used with bindings that have properties that are lists or compext types. For complex types, set the bindings by using
the binding.set pattern, as described in the Binding data and configuration options documentation section.
Example

start()
Starts a timer

stop()
Stops a timer

toggle()
Toggles the timer on or off

Inherited triggerFormulaUpdates([phase])
Broadcast the expression trigger for the specified view.
Example