Workspace.on('layout-ready') method
Workspace › on(‘layout-ready’)
Unofficial
Triggers when workspace layout is loaded.Signature:
on(name: "layout-ready", callback: () => void, ctx?: unknown): EventRefParameters:
| Parameter | Type | Description |
|---|---|---|
| name | "layout-ready" | |
| callback | () => void | |
| ctx? | unknown | *(Optional)* |
Returns: EventRef
Remarks:
Prefer usage of onLayoutReady instead.