@tempots/dom

DOMContext.withDocument property

Creates a new DOMContext instance with the provided document.

Signature:

readonly withDocument: (document: Document) => DOMContext;