Node class

Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way.

MDN Reference

Implemented types
Implementers
Available Extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

Node()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

attributeNode num
no setter
cdataSectionNode num
node is a CDATASection node.
no setter
commentNode num
node is a Comment node.
no setter
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
notationNode num
no setter
processingInstructionNode num
node is a ProcessingInstruction node.
no setter
textNode num
node is a Text node.
no setter