MCPcopy Index your code
hub / github.com/material-shell/material-shell / onSwitchWorkspace

Method onSwitchWorkspace

src/layout/main.ts:280–282  ·  view source on GitHub ↗
(_from: number, _to: number)

Source from the content-addressed store, hash-verified

278 }
279
280 onSwitchWorkspace(_from: number, _to: number): void {
281 this.onMsWorkspacesChanged();
282 }
283
284 togglePanelsVisibilities(): void {
285 this.panelsVisible = !this.panelsVisible;

Callers 1

registerToSignalsMethod · 0.95

Calls 1

onMsWorkspacesChangedMethod · 0.95

Tested by

no test coverage detected