void | timeout () |
Provides repetitive and single-shot timers.
Holds whether the timer is running. (Read Only)
Holds the timeout interval in milliseconds; default is 0 - will time out as soon as all events in the window system's event queue have been processed.
Holds whether the timer is the type that runs only once; if false
, timer runs every interval
milliseconds.
Starts, or restarts, the timer with a timeout interval of msec
milliseconds. If the timer is already running, it will be stopped and restarted. If singleShot
is true, the timer will be started only once.
Parameter(s):
void : start()
Starts, or restarts, the timer with a timeout interval of interval
milliseconds. If the timer is already running, it will be stopped and restarted. If singleShot
is true, the timer will be started only once.
void : stop()
Stops the timer.