onAttached property
EventStream<OnAttachedEvent>
get
onAttached
Fired when a tab is attached to a window; for example, because it was moved between windows.
Implementation
EventStream<OnAttachedEvent> get onAttached =>
$js.chrome.tabs.onAttached.asStream(($c) => (
int tabId,
$js.OnAttachedAttachInfo attachInfo,
) {
return $c(OnAttachedEvent(
tabId: tabId,
attachInfo: OnAttachedAttachInfo.fromJS(attachInfo),
));
});