onCreatedNavigationTarget property

EventStream<OnCreatedNavigationTargetDetails> get onCreatedNavigationTarget

Fired when a new window, or a new tab in an existing window, is created to host a navigation.

Implementation

EventStream<OnCreatedNavigationTargetDetails> get onCreatedNavigationTarget =>
    $js.chrome.webNavigation.onCreatedNavigationTarget
        .asStream(($c) => ($js.OnCreatedNavigationTargetDetails details) {
              return $c(OnCreatedNavigationTargetDetails.fromJS(details));
            }.toJS);