Toggles the visibility of the display settings modal.
This method allows you to show or hide the display settings modal by updating its visibility state.
The options for launching the display settings.
Function to update the visibility state of the display settings modal.
Current visibility state of the display settings modal.
const options: LaunchDisplaySettingsOptions = { updateIsDisplaySettingsModalVisible: (isVisible) => console.log('Display settings modal is now:', isVisible), isDisplaySettingsModalVisible: false,};const launchDisplaySettingsService = new LaunchDisplaySettings();launchDisplaySettingsService.launchDisplaySettings(options); Copy
const options: LaunchDisplaySettingsOptions = { updateIsDisplaySettingsModalVisible: (isVisible) => console.log('Display settings modal is now:', isVisible), isDisplaySettingsModalVisible: false,};const launchDisplaySettingsService = new LaunchDisplaySettings();launchDisplaySettingsService.launchDisplaySettings(options);
Toggles the visibility of the display settings modal.
This method allows you to show or hide the display settings modal by updating its visibility state.
Param: options
The options for launching the display settings.
Param: options.updateIsDisplaySettingsModalVisible
Function to update the visibility state of the display settings modal.
Param: options.isDisplaySettingsModalVisible
Current visibility state of the display settings modal.
Returns
Example