- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- Selection
- Annotations
- DocsEditable()
- DomName('Selection')
Static Properties
- instanceRuntimeType → Type
-
read-only
Constructors
Properties
- anchorNode → Node
-
read-only
- anchorOffset → int
-
read-only
- baseNode → Node
-
read-only
- baseOffset → int
-
read-only
- extentNode → Node
-
read-only
- extentOffset → int
-
read-only
- focusNode → Node
-
read-only
- focusOffset → int
-
read-only
- isCollapsed → bool
-
read-only
- rangeCount → int
-
read-only
- type → String
-
read-only
- hashCode → int
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
addRange(
Range range) → void -
DocsEditable(), DomName('Selection.addRange')
-
collapse(
Node node, [ int offset ]) → void -
collapseToEnd(
) → void -
DocsEditable(), DomName('Selection.collapseToEnd')
-
collapseToStart(
) → void -
DocsEditable(), DomName('Selection.collapseToStart')
-
containsNode(
Node node, bool allowPartialContainment) → bool -
DocsEditable(), DomName('Selection.containsNode'), Experimental()
-
deleteFromDocument(
) → void -
DocsEditable(), DomName('Selection.deleteFromDocument')
-
empty(
) → void -
DocsEditable(), DomName('Selection.empty'), Experimental()
-
extend(
Node node, [ int offset ]) → void -
getRangeAt(
int index) → Range -
DocsEditable(), DomName('Selection.getRangeAt')
-
modify(
String alter, String direction, String granularity) → void -
DocsEditable(), DomName('Selection.modify'), Experimental()
-
removeAllRanges(
) → void -
DocsEditable(), DomName('Selection.removeAllRanges')
-
selectAllChildren(
Node node) → void -
DocsEditable(), DomName('Selection.selectAllChildren')
-
setBaseAndExtent(
Node baseNode, int baseOffset, Node extentNode, int extentOffset) → void -
DocsEditable(), DomName('Selection.setBaseAndExtent'), Experimental()
-
setPosition(
Node node, [ int offset ]) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns the result of the JavaScript objects
toString
method.inherited