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
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()
- Cancels the repeated execution set using
WindowTimers.setInterval()
. WindowTimers.clearTimeout()
- Cancels the repeated execution set using
WindowTimers.setTimeout()
. WindowTimers.setInterval()
- Schedules the execution of a function each X milliseconds.
WindowTimers.setTimeout()
- Sets a delay for executing a function.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard ΠΠΏΡΠ΅Π΄Π΅Π»Π΅Π½ΠΈΠ΅ 'WindowTimers' Π² ΡΡΠΎΠΉ ΡΠΏΠ΅ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ. |
ΠΠΈΠ²ΠΎΠΉ ΡΡΠ°Π½Π΄Π°ΡΡ | No change since the latest snapshot, HTML 5.1. |
HTML 5.1 ΠΠΏΡΠ΅Π΄Π΅Π»Π΅Π½ΠΈΠ΅ 'WindowTimers' Π² ΡΡΠΎΠΉ ΡΠΏΠ΅ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ. |
Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡ | Snapshot of HTML Living Standard. No change. |
HTML5 ΠΠΏΡΠ΅Π΄Π΅Π»Π΅Π½ΠΈΠ΅ 'WindowTimers' Π² ΡΡΠΎΠΉ ΡΠΏΠ΅ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ. |
Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡ | Snapshot of HTML Living Standard. Creation of WindowBase64 (properties where on the target before it). |
Browser compatibility
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Firefox (Gecko) | Chrome | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 1.0 (1.7 ΠΈΠ»ΠΈ ΡΠ°Π½Π΅Π΅) | 1.0 | 4.0 | 4.0 | 1.0 |
Feature | Firefox Mobile (Gecko) | Android | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 1.0 (1) | (ΠΠ°) | (ΠΠ°) | (ΠΠ°) | (ΠΠ°) |