class Document
extends Node
import { Document } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/dom.ts";
Properties
readonly
_nwapi: SelectorApibody: Element
readonly
doctype: DocumentType | nullreadonly
documentElement: Element | nullhead: Element
implementation: DOMImplementation
readonly
visibilityState: VisibilityStateMethods
private
_getElementsByTagName(tagName: string, search: Node[]): Node[]private
_getElementsByTagNameWildcard(node: Node, search: Node[]): Node[]appendChild(child: Node): Node
createComment(data?: string): Comment
createElement(tagName: string, options?: ElementCreationOptions): Element
createTextNode(data?: string): Text
getElementById(id: string): Element | null
getElementsByClassName(className: string): Element[]
getElementsByTagName(tagName: string): Element[]
getElementsByTagNameNS(_namespace: string, localName: string): Element[]
hasFocus(): boolean
importNode(node: Node, deep?: boolean): Node
querySelector<T = Element>(selectors: string): T | null
querySelectorAll<T extends Element = Element>(selectors: string): NodeList<T>