onRemoved property

EventStream<OnRemovedEvent> get onRemoved

Fired when a tab is closed.

Implementation

EventStream<OnRemovedEvent> get onRemoved =>
    $js.chrome.tabs.onRemoved.asStream(($c) => (
          int tabId,
          $js.OnRemovedRemoveInfo removeInfo,
        ) {
          return $c(OnRemovedEvent(
            tabId: tabId,
            removeInfo: OnRemovedRemoveInfo.fromJS(removeInfo),
          ));
        });