onVisited property

EventStream<HistoryItem> get onVisited

Fired when a URL is visited, providing the HistoryItem data for that URL. This event fires before the page has loaded.

Implementation

EventStream<HistoryItem> get onVisited =>
    $js.chrome.history.onVisited.asStream(($c) => ($js.HistoryItem result) {
          return $c(HistoryItem.fromJS(result));
        }.toJS);