class denoDOM.Document
extends Node
Re-export
import { denoDOM } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts";
const { Document } = denoDOM;
Properties
body: Element
readonly
doctype: DocumentType | nullreadonly
documentElement: Element | nullhead: Element
implementation: DOMImplementation
readonly
visibilityState: VisibilityStateMethods
private
_getElementsByClassName(className: string, search: Node[]): Node[]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)
querySelector(selectors: string): Element | null
querySelectorAll(selectors: string): NodeList