CharacterData class
- Inheritance
- Object
- EventTarget
- Node
- CharacterData
- Implements
- Implemented by
- Annotations
- @Native("CharacterData")
Properties
- data ↔ String
-
read / write
- length → int
-
final
- nextElementSibling → Element
-
final
- previousElementSibling → Element
-
final
- baseUri → String
-
@JSName('baseURI'), final, inherited
-
childNodes
→ List<
Node> -
A list of this node's children. [...]
@Creates('NodeList'), @Returns('NodeList'), final, inherited
- firstChild → Node
-
The first child of this node. [...]
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isConnected → bool
-
final, inherited
- lastChild → Node
-
The last child of this node. [...]
final, inherited
- nextNode → Node
-
The next sibling node. [...]
@JSName('nextSibling'), final, inherited
- nodeName → String
-
The name of this node. [...]
final, inherited
-
nodes
↔ List<
Node> -
A modifiable list of this node's children.
read / write, inherited
- nodeType → int
-
The type of node. [...]
final, inherited
- nodeValue → String
-
The value of this node. [...]
final, 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. [...]
final, inherited
- parent → Element
-
The parent element of this node. [...]
@JSName('parentElement'), final, inherited
- parentNode → Node
-
The parent node of this node. [...]
final, inherited
- previousNode → Node
-
The previous sibling node. [...]
@JSName('previousSibling'), final, 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. [...]
@JSName('textContent'), read / write, inherited
Methods
-
after(
Object nodes) → void -
appendData(
String data) → void -
before(
Object nodes) → void -
deleteData(
int offset, int count) → void -
insertData(
int offset, String data) → void -
replaceData(
int offset, int count, String data) → void -
substringData(
int offset, int count) → String -
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. [...]
@JSName('appendChild'), inherited
-
clone(
bool deep) → Node -
Returns a copy of this node. [...]
@JSName('cloneNode'), inherited
-
contains(
Node other) → bool -
Returns true if this node contains the specified node. [...]
inherited
-
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 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. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
remove(
) → void -
Removes this node from the DOM.
inherited
-
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
replaceWith(
Node otherNode) → Node -
Replaces this node with another node.
inherited
-
toString(
) → String -
Print out a String representation of this Node.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited