onDetached property
EventStream<OnDetachedEvent>
get
onDetached
Fired when a tab is detached from a window; for example, because it was moved between windows.
Implementation
EventStream<OnDetachedEvent> get onDetached =>
$js.chrome.tabs.onDetached.asStream(($c) => (
int tabId,
$js.OnDetachedDetachInfo detachInfo,
) {
return $c(OnDetachedEvent(
tabId: tabId,
detachInfo: OnDetachedDetachInfo.fromJS(detachInfo),
));
}.toJS);