Not documented.
- Annotations
- DomName('Text')
- Extends
- Object
- EventTarget
- Node
- CharacterData
- Text
Properties
- String baseUri
-
read-only, inherited
- List<Node> childNodes
-
read-only, inheritedA list of this node's children.
- String data
-
read / write, inherited
- Node firstChild
-
read-only, inheritedThe first child of this node.
- Node lastChild
-
read-only, inheritedThe last child of this node.
- int length
-
read-only, inherited
- Element nextElementSibling
-
read-only, inherited
- Node nextNode
-
read-only, inheritedThe next sibling node.
- String nodeName
-
read-only, inheritedThe name of this node.
- List<Node> nodes
-
read / write, inheritedA modifiable list of this node's children.
- int nodeType
-
read-only, inheritedThe type of node.
- String nodeValue
-
read-only, inheritedThe value of this node.
- Events on
-
read-only, inheritedThis is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- Document ownerDocument
-
read-only, inheritedThe document this node belongs to.
- Element parent
-
read-only, inheritedThe parent element of this node.
- Node parentNode
-
read-only, inheritedThe parent node of this node.
- Element previousElementSibling
-
read-only, inherited
- Node previousNode
-
read-only, inheritedThe previous sibling node.
- String text
-
read / write, inheritedAll text within this node and its decendents.
- String wholeText
-
read-only
Constructors
- Text(String data)
Methods
-
addEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
append(
Node newChild) → Node -
inheritedAdds a node to the end of the child nodes list of this node.
-
appendData(
String data) → void -
inherited
-
clone(
bool deep) → Node -
inheritedReturns a copy of this node.
-
contains(
Node other) → bool -
inheritedReturns true if this node contains the specified node.
-
deleteData(
int offset, int length) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
getDestinationInsertionPoints(
) → List<Node> -
hasChildNodes(
) → bool -
inheritedReturns true if this node has any children.
-
insertAllBefore(
Iterable<Node> newNodes, Node refChild) → Node -
inheritedInserts all of the nodes into this node directly before refChild.
-
insertBefore(
Node newChild, Node refChild) → Node -
inheritedInserts all of the nodes into this node directly before refChild.
-
insertData(
int offset, String data) → void -
inherited
-
remove(
) → void -
inheritedRemoves this node from the DOM.
-
removeEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
replaceData(
int offset, int length, String data) → void -
inherited
-
replaceWith(
Node otherNode) → Node -
inheritedReplaces this node with another node.
-
splitText(
int offset) → Text -
substringData(
int offset, int length) → String -
inherited
-
toString(
) → String -
inheritedPrint out a String representation of this Node.