zloirock/core-js

Add support for `requestIdleCallback`

Open

#846 aperta il 20 lug 2020

Vedi su GitHub
 (10 commenti) (8 reazioni) (0 assegnatari)JavaScript (1609 fork)batch import
help wantedweb standards

Metriche repository

Star
 (23.771 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

https://w3c.github.io/requestidlecallback/

Looks like this can mostly be done simply by using setTimeout code, and seems quite simple to polyfill (if I get the time I'll create a PR).

Currently only Safari is missing this entirely.

Guida contributor