Spec-Zone.ru › Dart 1

dart:html

getSelection method

  1. @DomName('Window.getSelection')
  2. @DocsEditable()
Selection getSelection()

Returns the currently selected text.

Other resources

  • Window.getSelection from MDN.

Source

@DomName('Window.getSelection')
@DocsEditable()
Selection getSelection() =>
    _blink.BlinkWindow.instance.getSelection_Callback_0_(this);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Window/getSelection.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API