<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Workspace`](Workspace) › [on('layout-change')](Workspace/on('layout-change').md) ## Workspace.on('layout-change') method 0.9.20 **Signature:** ```typescript on(name: 'layout-change', callback: () => any, ctx?: any): EventRef; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>name</code> | <code>'layout-change'</code> | | | <code>callback</code> | <code>() =&gt; any</code> | | | <code>ctx</code> | <code>any</code> | _(Optional)_ | **Returns:** [`EventRef`](EventRef)