AppUiSettings Class

Beta  

These are the UI settings that are stored in the Redux store. They control the color theme, the UI version, how toolbar group buttons work, and the opacity of widgets in 1.0 and floating widget in 2.0 when the cursor is not inside them. It is expect that an IModelApp using App UI components will create and register AppUiSettings with defaults specific to their application. This would be done by calling the following.

UiFramework.registerUserSettingsProvider(new AppUiSettings(defaults));

Implements

Methods

Name Description
constructor(defaults: Partial<InitialAppUiSettings>): AppUiSettings    
apply(storage: UiSettingsStorage): Promise<void>    
loadUserSettings(storage: UiSettingsStorage): Promise<void> Function to load settings from settings storage  

Properties

Name Type Description
colorTheme UiSetting<string>    
dragInteraction UiSetting<boolean>    
frameworkVersion UiSetting<string>    
providerId Readonly "AppUiSettingsProvider" Unique provider Id  
widgetOpacity UiSetting<number>    

Defined in

Last Updated: 11 June, 2024