class Node
extends EventTarget
Re-export
import { Node } from "https://deno.land/x/deno_dom@v0.1.48/deno-dom-wasm.ts";
Properties
Methods
_assertNotAncestor(child: Node)
_remove(skipSetParent?)
_replaceWith(...nodes: (Node | string)[])
_setOwnerDocument(document: Document | null)
_setParent(newParent: Node | null, force?)
Update ancestor chain & owner document for this child and all its children.
appendChild(child: Node): Node
compareDocumentPosition(other: Node): number
FIXME: Does not implement attribute node checks ref: https://dom.spec.whatwg.org/#dom-node-comparedocumentposition MDN: https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
getRootNode(opts?: { composed?: boolean; }): Node
hasChildNodes(): boolean
insertBefore(newNode: Node, refNode: Node | null): Node
removeChild(child: Node): Node
replaceChild(newChild: Node, oldChild: Node): Node
import { type Node } from "https://deno.land/x/deno_dom@v0.1.48/deno-dom-wasm.ts";
Properties
ELEMENT_NODE: NodeType
ATTRIBUTE_NODE: NodeType
TEXT_NODE: NodeType
CDATA_SECTION_NODE: NodeType
ENTITY_REFERENCE_NODE: NodeType
ENTITY_NODE: NodeType
PROCESSING_INSTRUCTION_NODE: NodeType
COMMENT_NODE: NodeType
DOCUMENT_NODE: NodeType
DOCUMENT_TYPE_NODE: NodeType
DOCUMENT_FRAGMENT_NODE: NodeType
NOTATION_NODE: NodeType
import { type Node } from "https://deno.land/x/deno_dom@v0.1.48/deno-dom-wasm.ts";
definition: ConstructibleNode
import { Node } from "https://deno.land/x/deno_dom@v0.1.48/deno-dom-wasm.ts";