Node$Typings extension

on

Properties

appendChild ↔ T Function<T extends Node>(T)
getter/setter pair
attributeNode num
no setter
baseURI String
Returns node's node document's document base URL.
no setter
cdataSectionNode num
node is a CDATASection node.
no setter
childNodes NodeListOf<ChildNode>
Returns the children.
no setter
cloneNode Node Function([bool?])
getter/setter pair
commentNode num
node is a Comment node.
no setter
compareDocumentPosition num Function(Node)
getter/setter pair
contains bool Function([Node?])
getter/setter pair
documentFragmentNode num
node is a DocumentFragment node.
no setter
documentNode num
node is a document.
no setter
documentPositionContainedBy num
Set when other is a descendant of node.
no setter
documentPositionContains num
Set when other is an ancestor of node.
no setter
documentPositionDisconnected num
Set when node and other are not in the same tree.
no setter
documentPositionFollowing num
Set when other is following node.
no setter
documentPositionImplementationSpecific num
no setter
documentPositionPreceding num
Set when other is preceding node.
no setter
documentTypeNode num
node is a doctype.
no setter
elementNode num
node is an element.
no setter
entityNode num
no setter
entityReferenceNode num
no setter
firstChild ChildNode?
Returns the first child.
no setter
getRootNode Node Function([GetRootNodeOptions?])
getter/setter pair
hasChildNodes bool Function()
getter/setter pair
insertBefore ↔ T Function<T extends Node>(T, [Node?])
getter/setter pair
isConnected bool
Returns true if node is connected and false otherwise.
no setter
isDefaultNamespace bool Function([String?])
getter/setter pair
isEqualNode bool Function([Node?])
getter/setter pair
isSameNode bool Function([Node?])
getter/setter pair
lastChild ChildNode?
Returns the last child.
no setter
lookupNamespaceURI String? Function([String?])
getter/setter pair
lookupPrefix String? Function([String?])
getter/setter pair
nextSibling ChildNode?
Returns the next sibling.
no setter
nodeName String
Returns a string appropriate for the type of node.
no setter
nodeType num
Returns the type of node.
no setter
nodeValue String?
MDN Reference
getter/setter pair
normalize ↔ void Function()
getter/setter pair
notationNode num
no setter
ownerDocument Document?
Returns the node document. Returns null for documents.
no setter
parentElement HTMLElement?
Returns the parent element.
no setter
parentNode ParentNode?
Returns the parent.
no setter
previousSibling ChildNode?
Returns the previous sibling.
no setter
processingInstructionNode num
node is a ProcessingInstruction node.
no setter
removeChild ↔ T Function<T extends Node>(T)
getter/setter pair
replaceChild ↔ T Function<T extends Node>(Node, T)
getter/setter pair
textContent String?
MDN Reference
getter/setter pair
textNode num
node is a Text node.
no setter