API Docs for:
Show:

Object_Timer Class

Module: gs

A timer object. A timer can be used as a regular timer or as a stop-watch.

Item Index

Methods

Methods

toDataBundle

() Object

Serializes the object into a data-bundle.

Returns:

Object:

The data-bundle.

Properties

behavior

gs.Component_Timer

A behavior-component to add timer-specific behavior to the object.

events

gs.Component_EventEmitter

An event-emitter to emit events.

seconds

Number

The current seconds.

seconds

Number

The current minutes.

stopWatch

Boolean

Indicates if the timer runs like a stop-watch.