valueSelection property

(num, num)? get valueSelection

Selection of the pre-filled {@linkcode InputBoxOptions.value value}. Defined as tuple of two number where the first is the inclusive start index and the second the exclusive end index. When undefined the whole pre-filled value will be selected, when empty (start equals end) only the cursor will be set, otherwise the defined range will be selected.

Implementation

(
  _i2.num,
  _i2.num,
)? get valueSelection => _i5.getProperty(
      this,
      'valueSelection',
    );
set valueSelection ((num, num)? value)

Implementation

set valueSelection(
    (
      _i2.num,
      _i2.num,
    )? value) {
  _i5.setProperty(
    this,
    'valueSelection',
    value == null
        ? _i6.undefined
        : [
            value.$1,
            value.$2,
          ],
  );
}