The anchor point of the selection. The anchor is where the selection started. It does not move when the user selects text.
The focus point of the selection. It is the part of the
selection that moves when the user selects text. Omitting focus
will
result in a collapsed selection.
The anchor point of the selection. The anchor is where the selection started. It does not move when the user selects text.
Whether the two objects are equal. They are equal if they are the same object or if they have equal focuses (foci?) and equal anchors.
Generated using TypeDoc
Represents a selection as wed understands it.