acceptText method

void acceptText(
  1. EnumValue reason
)

Finish editing by trying to accept the new text.

Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {EnumValue} reason The reason must be either TextEditingTool.LostFocus, TextEditingTool.MouseDown, TextEditingTool.Tab, or TextEditingTool.Enter.

Implementation

void acceptText(_i3.EnumValue reason) {
  _i4.callMethod(
    this,
    'acceptText',
    [reason],
  );
}