clearComposition method
Clear 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> clearComposition(ClearCompositionParameters parameters) async {
var $res = await promiseToFuture<bool>(
$js.chrome.input.ime.clearComposition(parameters.toJS));
return $res;
}