onClicked property
EventStream<OnClickedEvent>
get
onClicked
Fired when a context menu item is clicked.
Implementation
EventStream<OnClickedEvent> get onClicked =>
$js.chrome.contextMenus.onClicked.asStream(($c) => (
$js.OnClickData info,
$js_tabs.Tab? tab,
) {
return $c(OnClickedEvent(
info: OnClickData.fromJS(info),
tab: tab?.let(Tab.fromJS),
));
}.toJS);