setCandidates method

Future<bool> setCandidates(
  1. SetCandidatesParameters parameters
)

Sets the current candidate list. This fails if this extension doesn't own the active IME returns Called when the operation completes.

Implementation

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