Defer loading of all render-blocking resources until the UI has loaded

This commit is contained in:
schlagmichdoch 2023-11-09 03:48:17 +01:00
parent 778d49e84b
commit 99332037bf
12 changed files with 1447 additions and 1385 deletions

View file

@ -1360,17 +1360,3 @@ class FileDigester {
}
}
class Events {
static fire(type, detail = {}) {
window.dispatchEvent(new CustomEvent(type, { detail: detail }));
}
static on(type, callback, options) {
return window.addEventListener(type, callback, options);
}
static off(type, callback, options) {
return window.removeEventListener(type, callback, options);
}
}