Instance Property

selectedDOMRange

The range of the current selection.

Declaration

var selectedDOMRange: DOMRange! { get }

Discussion

nil if nothing is selected.

See Also

Selecting Content in the Document