- Inheritance
- Implemented by
- Annotations
- DomName('Node')
Constants
- ATTRIBUTE_NODE → int
-
2
- CDATA_SECTION_NODE → int
-
4
- COMMENT_NODE → int
-
8
- DOCUMENT_FRAGMENT_NODE → int
-
11
- DOCUMENT_NODE → int
-
9
- DOCUMENT_TYPE_NODE → int
-
10
- ELEMENT_NODE → int
-
1
- ENTITY_NODE → int
-
6
- ENTITY_REFERENCE_NODE → int
-
5
- NOTATION_NODE → int
-
12
- PROCESSING_INSTRUCTION_NODE → int
-
7
- TEXT_NODE → int
-
3
Static Properties
- instanceRuntimeType → Type
-
read-only
Constructors
Properties
- baseUri → String
-
read-only
- childNodes → List<Node>
-
A list of this node's children.
read-only - firstChild → Node
-
The first child of this node.
read-only - hashCode → int
-
read-only, inherited
- lastChild → Node
-
The last child of this node.
read-only - nextNode → Node
-
The next sibling node.
read-only - nodeName → String
-
The name of this node.
read-only - nodes → List<Node>
-
A modifiable list of this node's children.
read / write - nodeType → int
-
The type of node.
read-only - nodeValue → String
-
The value of this node.
read-only - on → Events
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited - ownerDocument → Document
-
The document this node belongs to.
read-only - parent → Element
-
The parent element of this node.
read-only - parentNode → Node
-
The parent node of this node.
read-only - previousNode → Node
-
The previous sibling node.
read-only - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - text → String
-
All text within this node and its decendents.
read / write
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
addEventListener(
String type, EventListener listener(Event event), [bool useCapture]) → void -
inherited
-
append(
Node node) → 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 node, Node child) → Node -
Inserts all of the nodes into this node directly before refChild.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
remove(
) → void -
Removes this node from the DOM.
-
removeEventListener(
String type, EventListener 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.