Selection class
- Annotations
- @Native.new("Selection")
Properties
- anchorNode→Node?
- no setter
- anchorOffset→int?
- no setter
- baseNode→Node?
- no setter
- baseOffset→int?
- no setter
- extentNode→Node?
- no setter
- extentOffset→int?
- no setter
- focusNode→Node?
- no setter
- focusOffset→int?
- no setter
- hashCode→int
- The hash code for this object.no setterinherited
- isCollapsed→bool?
- no setter
- rangeCount→int?
- no setter
- runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
- type→String?
- no setter
Methods
- addRange(
Rangerange)→ void - collapse(
Node?node, [int?offset])→ void - collapseToEnd(
)→ void - collapseToStart(
)→ void - containsNode(
Nodenode, [bool?allowPartialContainment])→bool - deleteFromDocument(
)→ void - empty(
)→ void - extend(
Nodenode, [int?offset])→ void - getRangeAt(
intindex)→Range - modify(
String?alter,String?direction,String?granularity)→ void - noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- removeAllRanges(
)→ void - removeRange(
Rangerange)→ void - selectAllChildren(
Nodenode)→ void - setBaseAndExtent(
Node?baseNode,intbaseOffset,Node?extentNode,intextentOffset)→ void - setPosition(
Node?node, [int?offset])→ void - toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited