An introduction to Timers
The Timer object makes it possible to trigger actions based on timer events. For example show or hide an object after x milliseconds.
In this tutorial we will use the Timer object to show and hide an object.
The Timer object supports two types:
• Interval, executes a function, over and over again, at specified time intervals.
• Timeout, executes a function, once, after waiting a specified number of milliseconds.
The Interval property specifies the interval in milliseconds.
Auto start, specifies whether to automatically start the timer. If this option is not enabled you can start the timer through events (for example
on click of a button).