CloseOptions constructor
CloseOptions(
{ - int? windowId,
- int? tabId,
})
Implementation
CloseOptions({
/// The window in which to close the side panel. If a global side panel is
/// open in the specified window, it will be closed for all tabs in that
/// window where no tab-specific panel is active. At least one of this or
/// `tabId` must be provided.
int? windowId,
/// The tab in which to close the side panel. If a tab-specific side panel
/// is open in the specified tab, it will be closed for that tab. If only
/// the
/// global side panel is open, the promise returned by the call to
/// `close()` will reject with an error. This behavior was changed
/// in Chrome 145, with prior versions falling back to closing the global
/// panel. At least one of this or `windowId` must be provided.
int? tabId,
}) : _wrapped = $js.CloseOptions(
windowId: windowId,
tabId: tabId,
);