- Inheritance
- Implemented by
- Annotations
- @DomName('Node')
Constants
- ATTRIBUTE_NODE → int
-
@DocsEditable(), @DomName('Node.ATTRIBUTE_NODE')
2
- CDATA_SECTION_NODE → int
-
@DocsEditable(), @DomName('Node.CDATA_SECTION_NODE')
4
- COMMENT_NODE → int
-
@DocsEditable(), @DomName('Node.COMMENT_NODE')
8
- DOCUMENT_FRAGMENT_NODE → int
-
@DocsEditable(), @DomName('Node.DOCUMENT_FRAGMENT_NODE')
11
- DOCUMENT_NODE → int
-
@DocsEditable(), @DomName('Node.DOCUMENT_NODE')
9
- DOCUMENT_TYPE_NODE → int
-
@DocsEditable(), @DomName('Node.DOCUMENT_TYPE_NODE')
10
- ELEMENT_NODE → int
-
@DocsEditable(), @DomName('Node.ELEMENT_NODE')
1
- ENTITY_NODE → int
-
@DocsEditable(), @DomName('Node.ENTITY_NODE')
6
- ENTITY_REFERENCE_NODE → int
-
@DocsEditable(), @DomName('Node.ENTITY_REFERENCE_NODE')
5
- NOTATION_NODE → int
-
@DocsEditable(), @DomName('Node.NOTATION_NODE')
12
- PROCESSING_INSTRUCTION_NODE → int
-
@DocsEditable(), @DomName('Node.PROCESSING_INSTRUCTION_NODE')
7
- TEXT_NODE → int
-
@DocsEditable(), @DomName('Node.TEXT_NODE')
3
Static Properties
- instanceRuntimeType → Type
-
@Deprecated("Internal Use Only"), read-only
Constructors
Properties
- baseUri → String
-
@DocsEditable(), @DomName('Node.baseURI'), read-only
- childNodes → List<Node>
-
A list of this node's children.
@DocsEditable(), @DomName('Node.childNodes'), read-only - firstChild → Node
-
The first child of this node.
@DocsEditable(), @DomName('Node.firstChild'), read-only - lastChild → Node
-
The last child of this node.
@DocsEditable(), @DomName('Node.lastChild'), read-only - nextNode → Node
-
The next sibling node.
@DocsEditable(), @DomName('Node.nextSibling'), read-only - nodeName → String
-
The name of this node.
@DocsEditable(), @DomName('Node.nodeName'), read-only - nodes → List<Node>
-
A modifiable list of this node's children.
read / write - nodeType → int
-
The type of node.
@DocsEditable(), @DomName('Node.nodeType'), read-only - nodeValue → String
-
The value of this node.
@DocsEditable(), @DomName('Node.nodeValue'), read-only - ownerDocument → Document
-
The document this node belongs to.
@DocsEditable(), @DomName('Node.ownerDocument'), read-only - parent → Element
-
The parent element of this node.
@DocsEditable(), @DomName('Node.parentElement'), read-only - parentNode → Node
-
The parent node of this node.
@DocsEditable(), @DomName('Node.parentNode'), read-only - previousNode → Node
-
The previous sibling node.
@DocsEditable(), @DomName('Node.previousSibling'), read-only - text → String
-
All text within this node and its descendents.
@DocsEditable(), @DomName('Node.textContent'), read / write - treeRoot → Node
-
@DocsEditable(), @DomName('Node.treeRoot'), @Experimental(), read-only
- hashCode → int
-
read-only, inherited
- 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 - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
append(
Node node) → Node -
Adds a node to the end of the child nodes list of this node.
@DocsEditable(), @DomName('Node.appendChild') -
clone(
bool deep) → Node -
Returns a copy of this node.
@DocsEditable(), @DomName('Node.cloneNode') -
contains(
Node other) → bool -
Returns true if this node contains the specified node.
@DocsEditable(), @DomName('Node.contains') -
hasChildNodes(
) → bool -
Returns true if this node has any children.
@DocsEditable(), @DomName('Node.hasChildNodes') -
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.
@DocsEditable(), @DomName('Node.insertBefore') -
remove(
) → void -
Removes this node from the DOM.
@DomName('Node.removeChild') -
replaceWith(
Node otherNode) → Node -
Replaces this node with another node.
@DomName('Node.replaceChild') -
toString(
) → String -
Print out a String representation of this Node.
-
addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited