getSelection method
Returns the currently selected text.
Other resources
- Window.getSelection from MDN.
Implementation
Selection? getSelection() native;
api.dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more.
Returns the currently selected text.
Selection? getSelection() native;