<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Workspace`](Workspace) › [`onLayoutReady`](Workspace/onLayoutReady) ## Workspace.onLayoutReady() method Runs the callback function right away if layout is already ready, or push it to a queue to be called later when layout is ready. 0.11.0 **Signature:** ```typescript onLayoutReady(callback: () => any): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>callback</code> | <code>() =&gt; any</code> | | **Returns:** `void`