Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/feomasto/priv/deps.ts>denoDOM.Node

Sync posts from Mastodon into FeoBlog
Latest
class denoDOM.Node
extends EventTarget
Re-export
import { denoDOM } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts";
const { Node } = denoDOM;

Constructors

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

Properties

private
_ancestors: Set<Node>
childNodes: NodeList
readonly
children: HTMLCollection
readonly
firstChild
readonly
lastChild
readonly
nextSibling: Node | null
nodeValue: string | null
readonly
ownerDocument
parentElement: Element | null
parentNode: Node | null
readonly
previousSibling: Node | null
textContent: string

Methods

private
insertBeforeAfter(nodes: (Node | string)[], side: number)
_appendTo(parentNode: Node)
_getChildNodesMutator(): NodeListMutator
_setOwnerDocument(document: Document | null)
_setParent(newParent: Node | null, force?)
after(...nodes: (Node | string)[])
before(...nodes: (Node | string)[])
cloneNode(deep?: boolean): this
contains(child: Node)
insertBefore(newNode: Node, refNode: Node | null): Node
replaceChild(newChild: Node, oldChild: Node): Node
replaceWith(...nodes: (Node | string)[])

Static Properties

ATTRIBUTE_NODE
CDATA_SECTION_NODE
COMMENT_NODE
DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY: 16
DOCUMENT_POSITION_CONTAINS: 8
DOCUMENT_POSITION_DISCONNECTED: 1
DOCUMENT_POSITION_FOLLOWING: 4
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
DOCUMENT_POSITION_PRECEDING: 2
DOCUMENT_TYPE_NODE
ELEMENT_NODE
ENTITY_NODE
ENTITY_REFERENCE_NODE
NOTATION_NODE
PROCESSING_INSTRUCTION_NODE
TEXT_NODE
interface denoDOM.Node
Re-export
import { type denoDOM } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts";
const { Node } = denoDOM;

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
type alias denoDOM.Node
Re-export
import { type denoDOM } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts";
const { Node } = denoDOM;
definition: ConstructibleNode
variable denoDOM.Node
Re-export
import { denoDOM } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts";
const { Node } = denoDOM;

type

Pick<ConstructibleNode, keyof ConstructibleNode> & Function