commitText method

Future<bool> commitText(
  1. CommitTextParameters parameters
)

Commits the provided text to the current input. returns Called when the operation completes with a boolean indicating if the text was accepted or not. On failure, runtime.lastError is set.

Implementation

Future<bool> commitText(CommitTextParameters parameters) async {
  var $res = await promiseToFuture<bool>(
      $js.chrome.input.ime.commitText(parameters.toJS));
  return $res;
}