Results 1 - 3 of 3

WindowTimers

WindowTimers is a mixin used to provide utility methods which set and clear timers. No objects of this type exist; instead, its methods are available on Window for the standard browsing scope, or on WorkerGlobalScope for workers.
API HTML DOM Interface Intervals Mixin Reference Timers Workers

WindowTimers.setInterval()

Repeatedly calls a function or executes a code snippet, with a fixed time delay between each call. Returns an intervalID.
API DOM Gecko Intervals JavaScript timers MakeBrowserAgnostic Method NeedsMarkupWork setInterval Timers WindowTimers

WindowTimers.setTimeout()

Sets a timer which executes a function or specified piece of code once after the timer expires.
API HTML DOM Intervals JavaScript timers MakeBrowserAgnostic Method NeedsCompatTable NeedsMarkupWork NeedsUpdate Reference setTimeout Timers WindowTimers