class Node
extends EventTarget
Re-export
import { Node } from "https://deno.land/x/lume@v1.15.0/deps/dom.ts";
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)
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
insertBefore(newNode: Node, refNode: Node | null): Node
removeChild(child: Node)
replaceChild(newChild: Node, oldChild: Node): Node
import { type Node } from "https://deno.land/x/lume@v1.15.0/deps/dom.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/lume@v1.15.0/deps/dom.ts";
definition: ConstructibleNode
import { Node } from "https://deno.land/x/lume@v1.15.0/deps/dom.ts";