onFocus property

EventStream<InputContext> get onFocus

This event is sent when focus enters a text box. It is sent to all extensions that are listening to this event, and enabled by the user.

Implementation

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