Skip to content

Workspace.on('tab-group-menu') method

Workspace › on(‘tab-group-menu’)

Unofficial

Called whenever user opens tab group menu (contains e.g. stacked tabs button)

Signature:

on(name: "tab-group-menu", callback: (tabMenu: Menu, tabsLeaf: WorkspaceTabs) => void, ctx?: unknown): EventRef

Parameters:

ParameterTypeDescription
name"tab-group-menu"
callback(tabMenu: Menu, tabsLeaf: WorkspaceTabs) => void
ctx?unknown*(Optional)*

Returns: EventRef