Inheritance
Implemented by
Annotations
  • DomName('Node')

Constants

ATTRIBUTE_NODE → int

const 2
CDATA_SECTION_NODE → int

const 4
COMMENT_NODE → int

const 8
DOCUMENT_FRAGMENT_NODE → int

const 11
DOCUMENT_NODE → int

const 9
DOCUMENT_TYPE_NODE → int

const 10
ELEMENT_NODE → int

const 1
ENTITY_NODE → int

const 6
ENTITY_REFERENCE_NODE → int

const 5
NOTATION_NODE → int

const 12
PROCESSING_INSTRUCTION_NODE → int

const 7
TEXT_NODE → int

const 3

Static Methods

internalCreateNode() → Node

Constructors

Node.internal_()

Properties

baseUri → String

read-only

The underlying JS DOM object.

read / write, inherited
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 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.…

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.