onBeforeNavigate property

EventStream<OnBeforeNavigateDetails> get onBeforeNavigate

Fired when a navigation is about to occur.

Implementation

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