setComposition method
Set the current composition. If this extension does not own the active
IME, this fails.
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> setComposition(SetCompositionParameters parameters) async {
var $res = await promiseToFuture<bool>(
$js.chrome.input.ime.setComposition(parameters.toJS));
return $res;
}