Skip to main content

getCurrentLayout

client.application.getCurrentLayout(): Promise<CurrentLayout>

Retrieves the current active layout.

Returns the layout configuration that is currently being displayed in the application UI.

Parameters​

No parameters.

Returns​

Promise<CurrentLayout> — A promise that resolves to the CurrentLayout object

Example​

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.application.getCurrentLayout();
console.log(result);