Workspaceon(‘window-open’)

Workspace.on(‘window-open’) method

Triggered when a new popout window is created.

Signature:

on(name: 'window-open', callback: (win: WorkspaceWindow, window: Window) => any, ctx?: any): EventRef;

Parameters

ParameterTypeDescription
name’window-open’
callback(win: WorkspaceWindow, window: Window) any
ctxany(Optional)

Returns:

EventRef