Returns the currently selected text.
Other resources
-
Window.getSelection from MDN.
Source
/**
* Returns the currently selected text.
*
* ## Other resources
*
* * [Window.getSelection]
* (https://developer.mozilla.org/en-US/docs/Web/API/Window.getSelection)
* from MDN.
*/
@DomName('Window.getSelection')
@DocsEditable()
Selection getSelection() => wrap_jso(_blink.BlinkWindow.instance.getSelection_Callback_0_(unwrap_jso(this)));