Inheritance
Annotations
  • DocsEditable()
  • DomName('Selection')

Static Methods

internalCreateSelection() → Selection

Constructors

Selection.internal_()

Properties

anchorNode → Node

read-only
anchorOffset → int

read-only
baseNode → Node

read-only
baseOffset → int

read-only

The underlying JS DOM object.

read / write, inherited
extentNode → Node

read-only
extentOffset → int

read-only
focusNode → Node

read-only
focusOffset → int

read-only
hashCode → int

read-only
isCollapsed → bool

read-only
rangeCount → int

read-only
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
type → String

read-only

Operators

operator ==(other) → bool

The equality operator.…

Methods

addRange(Range range) → void

collapse(Node node, [int offset]) → void

collapseToEnd() → void

collapseToStart() → void

containsNode(Node node, bool allowPartial) → bool

deleteFromDocument() → void

empty() → void

extend(Node node, [int offset]) → void

getRangeAt(int index) → Range

modify(String alter, String direction, String granularity) → void

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.…

inherited
removeAllRanges() → void

selectAllChildren(Node node) → void

setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int extentOffset) → void

setPosition(Node node, [int offset]) → void

toString() → String

Returns a string representation of this object.

inherited