setSelectionRange method

void setSelectionRange(int start, int end, [ String direction ])

Source

void setSelectionRange(int start, int end, [String direction]) {
  if (direction != null) {
    _blink.BlinkHTMLInputElement.instance
        .setSelectionRange_Callback_3_(this, start, end, direction);
    return;
  }
  _blink.BlinkHTMLInputElement.instance
      .setSelectionRange_Callback_2_(this, start, end);
  return;
}

© 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/InputElement/setSelectionRange.html