WindowTimers
WindowTimers
contains utility methods to set and clear timers.
There is no object of this type, though the context object, either the Window
for regular browsing scope, or the WorkerGlobalScope
(en-US) for workers, implements it.
Properties
This interface do not define any property, nor inherit any.
Methods
This interface do not inherit any method.
WindowTimers.clearInterval()
(en-US)- Cancels the repeated execution set using
WindowTimers.setInterval()
(en-US). WindowTimers.clearTimeout()
- Cancels the repeated execution set using
WindowTimers.setTimeout()
(en-US). WindowTimers.setInterval()
(en-US)- Schedules the execution of a function each X milliseconds.
WindowTimers.setTimeout()
(en-US)- Sets a delay for executing a function.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'WindowTimers' in that specification. |
Padrão em tempo real | No change since the latest snapshot, HTML 5.1. |
HTML 5.1 The definition of 'WindowTimers' in that specification. |
Recomendação | Snapshot of HTML Living Standard. No change. |
HTML5 The definition of 'WindowTimers' in that specification. |
Recomendação | Snapshot of HTML Living Standard. Creation of WindowBase64 (properties where on the target before it). |
Browser compatibility
Estamos convertendo nossos dados de compatibilidade para o formato JSON.
Esta tabela de compatibilidade ainda usa o formato antigo,
pois ainda não convertemos os dados que ela contém.
Descubra como você pode ajudar! (en-US)
Feature | Firefox (Gecko) | Chrome | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 1.0 (1.7 or earlier) | 1.0 | 4.0 | 4.0 | 1.0 |
Feature | Firefox Mobile (Gecko) | Android | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 1.0 (1) | (Yes) | (Yes) | (Yes) | (Yes) |