Skip to content

LayoutSettingsService

service

Service to store and retrieve layout settings. Those settings are stored on the users device because in general layout settings like panel widths are highly dependent on the current device.

Type: number

Default Value: 16

Type: unknown

Default Value: this.themeMode.asReadonly()

Type: unknown

Default Value: signal<LayoutMode>('system')

applyLayoutMode(mode?: LayoutMode): void // DEPRECATED
NameTypeDescription
modeLayoutMode

Clears all layout settings.

clearSettings(): void
getSettings(key: string): unknown | undefined
NameTypeDescription
keystring
init(): void // DEPRECATED
saveSettings(key: string, settings: unknown): boolean
NameTypeDescription
keystring
settingsunknown
setMode(mode: LayoutMode): void // DEPRECATED
NameTypeDescription
modeLayoutMode