Not documented.

Inheritance
Implemented by
Annotations
  • DomName('Node')

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

baseUri String
read-only

childNodes List<Node>
read-only

A list of this node's children.

firstChild Node
read-only

The first child of this node.

lastChild Node
read-only

The last child of this node.

nextNode Node
read-only

The next sibling node.

nodeName String
read-only

The name of this node.

nodes List<Node>
read / write

A modifiable list of this node's children.

nodeType int
read-only

The type of node.

nodeValue String
read-only

The value of this node.

on Events
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.

ownerDocument Document
read-only

The document this node belongs to.

parent Element
read-only

The parent element of this node.

parentNode Node
read-only

The parent node of this node.

previousNode Node
read-only

The previous sibling node.

text String
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.