getSelection method

Selection? getSelection()

The Window.getSelection() method returns a Selection object representing the range of text selected by the user or the current position of the caret.

Implementation

external Selection? getSelection();