selectedText abstract method
The selected text of the focused element (e.g. a focused text input's current selection). Empty when nothing with a text selection is focused. Lets hosts implement clipboard copy/cut, which the runtime can't do itself (no system clipboard access).
Implementation
String selectedText();