Not documented.

Annotations
  • DomName('Node')
Extends
Implemented by

Constants

int ATTRIBUTE_NODE = 2
const
int CDATA_SECTION_NODE = 4
const
int COMMENT_NODE = 8
const
int DOCUMENT_FRAGMENT_NODE = 11
const
int DOCUMENT_NODE = 9
const
int DOCUMENT_TYPE_NODE = 10
const
int ELEMENT_NODE = 1
const
int ENTITY_NODE = 6
const
int ENTITY_REFERENCE_NODE = 5
const
int NOTATION_NODE = 12
const
int PROCESSING_INSTRUCTION_NODE = 7
const
int TEXT_NODE = 3
const

Properties

String baseUri
read-only
List<Node> childNodes
read-only
A list of this node's children.
Node firstChild
read-only
The first child of this node.
Node lastChild
read-only
The last child of this node.
Node nextNode
read-only
The next sibling node.
String nodeName
read-only
The name of this node.
List<Node> nodes
read / write
A modifiable list of this node's children.
int nodeType
read-only
The type of node.
String nodeValue
read-only
The value of this node.
Events on
read-only, inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
Document ownerDocument
read-only
The document this node belongs to.
Element parent
read-only
The parent element of this node.
Node parentNode
read-only
The parent node of this node.
Node previousNode
read-only
The previous sibling node.
String text
read / write
All text within this node and its decendents.

Methods

addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
append(Node newChild) → Node
Adds a node to the end of the child nodes list of this node.
clone(bool deep) → Node
Returns a copy of this node.
contains(Node other) → bool
Returns true if this node contains the specified node.
dispatchEvent(Event event) → bool
inherited
hasChildNodes() → bool
Returns true if this node has any children.
insertAllBefore(Iterable<Node> newNodes, Node refChild) → Node
Inserts all of the nodes into this node directly before refChild.
insertBefore(Node newChild, Node refChild) → Node
Inserts all of the nodes into this node directly before refChild.
remove() → void
Removes this node from the DOM.
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
replaceWith(Node otherNode) → Node
Replaces this node with another node.
toString() → String
Print out a String representation of this Node.