onActivate property

EventStream<OnActivateEvent> get onActivate

This event is sent when an IME is activated. It signals that the IME will be receiving onKeyPress events.

Implementation

EventStream<OnActivateEvent> get onActivate =>
    $js.chrome.input.ime.onActivate.asStream(($c) => (
          String engineID,
          $js.ScreenType screen,
        ) {
          return $c(OnActivateEvent(
            engineId: engineID,
            screen: ScreenType.fromJS(screen),
          ));
        });