Skip to main content

setModeLayout

client.application.setModeLayout(data: SetModeLayoutRequest): Promise<void>

Sets the mode layout configuration.

Configures how the application layout behaves in a specific mode (e.g., coding, debugging, reviewing).

Parameters

ParameterTypeRequiredDescription
dataSetModeLayoutRequestYesThe mode layout configuration

Returns

Promise<void> — A promise that resolves when the layout has been set

Example

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

const client = new CodeBoltClient();

const result = await client.application.setModeLayout(/* SetModeLayoutRequest */);
console.log(result);