Inheritance
Annotations
  • @DocsEditable()
  • @DomName('Comment')

Static Properties

instanceRuntimeType Type

@Deprecated("Internal Use Only"), read-only

Constructors

Comment([String data ])

factory
Comment.internal_()

Properties

baseUri String

@DocsEditable(), @DomName('Node.baseURI'), read-only, inherited
childNodes List<Node>

A list of this node's children.

@DocsEditable(), @DomName('Node.childNodes'), read-only, inherited
data String

@DocsEditable(), @DomName('CharacterData.data'), read / write, inherited
firstChild Node

The first child of this node.

@DocsEditable(), @DomName('Node.firstChild'), read-only, inherited
hashCode int

read-only, inherited
lastChild Node

The last child of this node.

@DocsEditable(), @DomName('Node.lastChild'), read-only, inherited
length int

@DocsEditable(), @DomName('CharacterData.length'), read-only, inherited
nextElementSibling Element

@DocsEditable(), @DomName('CharacterData.nextElementSibling'), read-only, inherited
nextNode Node

The next sibling node.

@DocsEditable(), @DomName('Node.nextSibling'), read-only, inherited
nodeName String

The name of this node.

@DocsEditable(), @DomName('Node.nodeName'), read-only, inherited
nodes List<Node>

A modifiable list of this node's children.

read / write, inherited
nodeType int

The type of node.

@DocsEditable(), @DomName('Node.nodeType'), read-only, inherited
nodeValue String

The value of this node.

@DocsEditable(), @DomName('Node.nodeValue'), 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
ownerDocument Document

The document this node belongs to.

@DocsEditable(), @DomName('Node.ownerDocument'), read-only, inherited
parent Element

The parent element of this node.

@DocsEditable(), @DomName('Node.parentElement'), read-only, inherited
parentNode Node

The parent node of this node.

@DocsEditable(), @DomName('Node.parentNode'), read-only, inherited
previousElementSibling Element

@DocsEditable(), @DomName('CharacterData.previousElementSibling'), read-only, inherited
previousNode Node

The previous sibling node.

@DocsEditable(), @DomName('Node.previousSibling'), read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
text String

All text within this node and its descendents.

@DocsEditable(), @DomName('Node.textContent'), read / write, inherited
treeRoot Node

@DocsEditable(), @DomName('Node.treeRoot'), @Experimental(), read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

addEventListener(String type, EventListener listener, [ bool useCapture ]) → void

inherited
append(Node node) Node

Adds a node to the end of the child nodes list of this node.

@DocsEditable(), @DomName('Node.appendChild'), inherited
appendData(String data) → void

@DocsEditable(), @DomName('CharacterData.appendData'), inherited
clone(bool deep) Node

Returns a copy of this node.

@DocsEditable(), @DomName('Node.cloneNode'), inherited
contains(Node other) bool

Returns true if this node contains the specified node.

@DocsEditable(), @DomName('Node.contains'), inherited
deleteData(int offset, int count) → void

@DocsEditable(), @DomName('CharacterData.deleteData'), inherited
dispatchEvent(Event event) bool

@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
hasChildNodes() bool

Returns true if this node has any children.

@DocsEditable(), @DomName('Node.hasChildNodes'), inherited
insertAllBefore(Iterable<Node> newNodes, Node refChild) Node

Inserts all of the nodes into this node directly before refChild.

inherited
insertBefore(Node node, Node child) Node

Inserts all of the nodes into this node directly before refChild.

@DocsEditable(), @DomName('Node.insertBefore'), inherited
insertData(int offset, String data) → void

@DocsEditable(), @DomName('CharacterData.insertData'), inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
remove() → void

Removes this node from the DOM.

@DomName('Node.removeChild'), inherited
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void

inherited
replaceData(int offset, int count, String data) → void

@DocsEditable(), @DomName('CharacterData.replaceData'), inherited
replaceWith(Node otherNode) Node

Replaces this node with another node.

@DomName('Node.replaceChild'), inherited
substringData(int offset, int count) String

@DocsEditable(), @DomName('CharacterData.substringData'), inherited
toString() String

Print out a String representation of this Node.

inherited