positionCaretOnClick property

PositionCaretOnClick? get positionCaretOnClick

Positioning of the caret on click.

Options:

  • none
  • lvp - based on the last valid position (default)
  • radixFocus - position caret to radixpoint on initial click
  • select - select the whole input
  • ignore - ignore the click and continue the mask

@default "lvp"

Implementation

_i3.PositionCaretOnClick? get positionCaretOnClick => switch (_i4.getProperty(
      this,
      'positionCaretOnClick',
    )) {
      _i2.String name => _i3.PositionCaretOnClickOptions.values.byName(name),
      _ => null
    };
set positionCaretOnClick (PositionCaretOnClick? value)

Implementation

set positionCaretOnClick(_i3.PositionCaretOnClick? value) {
  _i4.setProperty(
    this,
    'positionCaretOnClick',
    value?.name ?? _i6.undefined ?? _i6.undefined,
  );
}