On this pageBrowserModule OverviewKeywork includes promise-based utilities for working with the DOM.BrowserwaitUntilDOMReadyCreates a promise that blocks until the DOM has loaded.import { waitUntilDOMReady } from 'keywork/timers/browser'await waitUntilDOMReady()requestAnimationFramePromisePromise wrapper around requestAnimationFrameimport { requestAnimationFrame } from 'keywork/timers/browser'await requestAnimationFrame()UsageNodeDenoBrowser/ESMimport * as Browser from 'keywork/timers/browser'import * as Browser from 'https://deno.land/x/keywork/timers/browser'let Browser = await import('https://esm.sh/keywork/timers/browser')FunctionsrequestAnimationFramePromisewaitUntilDOMReady
Keywork includes promise-based utilities for working with the DOM.
Browser
waitUntilDOMReady
Creates a promise that blocks until the DOM has loaded.
requestAnimationFramePromise
Promise wrapper around
requestAnimationFrame