interface TabsMain { $closeGroup(groupIds,
preserveFocus?): Promise<boolean>; $closeTab(tabIds,
preserveFocus?): Promise<boolean>; $moveTab(tabId,
index,
viewColumn,
preserveFocus?): void; } Methods
$closeGroup
- $closeGroup(groupIds, preserveFocus?): Promise<boolean>
Parameters
- groupIds: number[]
Optional
preserveFocus: boolean
Returns Promise<boolean>
$closeTab
- $closeTab(tabIds, preserveFocus?): Promise<boolean>
Parameters
- tabIds: string[]
Optional
preserveFocus: boolean
Returns Promise<boolean>
$moveTab
- $moveTab(tabId, index, viewColumn, preserveFocus?): void
Parameters
- tabId: string
- index: number
- viewColumn: number
Optional
preserveFocus: boolean
Returns void