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.
Properties
Section titled “Properties”DEFAULT_SPLIT_VIEW_GUTTER_SIZE
Section titled “DEFAULT_SPLIT_VIEW_GUTTER_SIZE”Type: number
Default Value: 16
Type: unknown
Default Value: this.themeMode.asReadonly()
themeMode
Section titled “themeMode”Type: unknown
Default Value: signal<LayoutMode>('system')
Methods
Section titled “Methods”applyLayoutMode
Section titled “applyLayoutMode”applyLayoutMode(mode?: LayoutMode): void // DEPRECATEDArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| mode | LayoutMode |
clearSettings
Section titled “clearSettings”Clears all layout settings.
clearSettings(): voidgetSettings
Section titled “getSettings”getSettings(key: string): unknown | undefinedArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| key | string |
init(): void // DEPRECATEDsaveSettings
Section titled “saveSettings”saveSettings(key: string, settings: unknown): booleanArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| key | string | |
| settings | unknown |
setMode
Section titled “setMode”setMode(mode: LayoutMode): void // DEPRECATEDArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| mode | LayoutMode |