onClicked property

EventStream<Tab> get onClicked

Fired when a browser action icon is clicked. Does not fire if the browser action has a popup.

Implementation

EventStream<Tab> get onClicked =>
    $js.chrome.browserAction.onClicked.asStream(($c) => ($js_tabs.Tab tab) {
          return $c(Tab.fromJS(tab));
        });