TabGroups
Represents the main editor area which consists of multiple groups which contain tabs.
Properties
Link copied to clipboard
The currently active group.
Link copied to clipboard
All the groups within the group container.
Link copied to clipboard
An event} which fires when {@link TabGroup tab groups have changed.
Link copied to clipboard
An event} which fires when {@link Tab tabs have changed.
Functions
Link copied to clipboard
abstract fun close(tabGroup: ReadonlyArray<TabGroup>, preserveFocus: Boolean = definedExternally): PromiseLike<JsBoolean>
Closes the tab group. This makes the tab group object invalid and the tab group should no longer be used for further actions.
abstract fun close(tab: ReadonlyArray<Tab>, preserveFocus: Boolean = definedExternally): PromiseLike<JsBoolean>
Closes the tab. This makes the tab object invalid and the tab should no longer be used for further actions. Note: In the case of a dirty tab, a confirmation dialog will be shown which may be cancelled. If cancelled the tab is still valid