onInputContextUpdate property

EventStream<InputContext> get onInputContextUpdate

This event is sent when the properties of the current InputContext change, such as the the type. It is sent to all extensions that are listening to this event, and enabled by the user.

Implementation

EventStream<InputContext> get onInputContextUpdate =>
    $js.chrome.input.ime.onInputContextUpdate
        .asStream(($c) => ($js.InputContext context) {
              return $c(InputContext.fromJS(context));
            }.toJS);