requestIdleCallback
requestIdleCallback
API allowing the execution of JavaScript to be queued to run in idle browser time, either at the end of a frame or when the user is inactive. Also covers support for cancelIdleCallback
. The API has similarities with requestAnimationFrame
.
Spec | https://w3c.github.io/requestidlecallback/ |
---|---|
Status | W3C Working Draft |
IE | Edge | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|---|
&nbs
|