getSelection method
- @DomName('Window.getSelection')
- @DocsEditable()
Returns the currently selected text.
Other resources
- Window.getSelection from MDN.
Implementation
@DomName('Window.getSelection')
@DocsEditable()
Selection getSelection() native;
Returns the currently selected text.
@DomName('Window.getSelection')
@DocsEditable()
Selection getSelection() native;