Skip to main content
Module

x/aleph/vendor/deno-dom/node.ts>Node

The Full-stack Framework in Deno.
Go to Latest
class Node
extends EventTarget
import { Node } from "https://deno.land/x/aleph@v0.2.14/vendor/deno-dom/node.ts";

Constructors

new
Node(
nodeName: string,
nodeType: NodeType,
parentNode: Node | null,
)

Properties

childNodes: NodeList
readonly
children: HTMLCollection
readonly
nextSibling: Node | null
nodeValue: string | null
readonly
ownerDocument
parentElement: Element | null
readonly
previousSibling: Node | null
textContent: string

Methods

private
insertBeforeAfter(nodes: (Node | string)[], side: number)
_getChildNodesMutator(): NodeListMutator
_setOwnerDocument(document: Document | null)
after(...nodes: (Node | string)[])
appendChild(child: Node)
before(...nodes: (Node | string)[])
removeChild(child: Node)
replaceChild(child: Node)
replaceWith(...nodes: (Node | string)[])