Module
A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
title: Overview sidebar_label: Module Overview sidebar_position: 0 pagination_label: ‘Module: Timers’
Module Overview
Keywork includes promise-based utilities for working with the DOM.
Browser
waitUntilDOMReady
Creates a promise that blocks until the DOM has loaded.
import { waitUntilDOMReady } from 'keywork/timers/browser'
await waitUntilDOMReady()
requestAnimationFramePromise
Promise wrapper around requestAnimationFrame
import { requestAnimationFrame } from 'keywork/timers/browser'
await requestAnimationFrame()