WorkspaceLayoutStateKey.onChange
WorkspaceLayoutStateKey › onChange
Type: (callback: (change: WorkspaceLayoutStateChange<T>) => void) => () => void
Subscribes to changes of this key made throughset or unset, in any scope and from any copy of the library. A layout load is reported through WorkspaceLayoutStateComponent.onLayoutLoad instead.