CharacterData class

Inheritance
Implemented types
Implementers
Annotations
  • @Native("CharacterData")

Properties

baseUri String?
no setterinherited
childNodes List<Node>
A list of this node's children.
no setterinherited
data String?
getter/setter pair
firstChild Node?
The first child of this node.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isConnected bool?
no setterinherited
lastChild Node?
The last child of this node.
no setterinherited
length int?
no setter
nextElementSibling Element?
no setteroverride
nextNode Node?
The next sibling node.
no setterinherited
nodeName String?
The name of this node.
no setterinherited
nodes List<Node>
A modifiable list of this node's children.
getter/setter pairinherited
nodeType int
The type of node.
no setterinherited
nodeValue String?
The value of this node.
no setterinherited
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
no setterinherited
ownerDocument Document?
The document this node belongs to.
no setterinherited
parent Element?
The parent element of this node.
no setterinherited
parentNode Node?
The parent node of this node.
no setterinherited
previousElementSibling Element?
no setteroverride
previousNode Node?
The previous sibling node.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
All text within this node and its descendants.
getter/setter pairinherited

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
after(Object nodes) → void
override
append(Node node) Node
Adds a node to the end of the child nodes list of this node.
inherited
appendData(String data) → void
before(Object nodes) → void
override
clone(bool? deep) Node
Returns a copy of this node.
inherited
contains(Node? other) bool
Returns true if this node contains the specified node.
inherited
deleteData(int offset, int count) → void
dispatchEvent(Event event) bool
inherited
getRootNode([Map? options]) Node
inherited
hasChildNodes() bool
Returns true if this node has any children.
inherited
insertAllBefore(Iterable<Node> newNodes, Node child) → void
Inserts all of the nodes into this node directly before child.
inherited
insertBefore(Node node, Node? child) Node
Inserts the given node into this node directly before child. If child is null, then the given node is inserted at the end of this node's child nodes.
inherited
insertData(int offset, String data) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove() → void
Removes this node from the DOM.
inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
replaceData(int offset, int count, String data) → void
replaceWith(Node otherNode) Node
Replaces this node with another node.
inherited
substringData(int offset, int count) String
toString() String
Print out a String representation of this Node.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited