Toggles the visibility state of the settings modal.
The options for launching settings.
Function to update the visibility state of the settings modal.
Current visibility state of the settings modal.
This method toggles the current visibility state of the settings modal. If the modal is currently visible, it will be hidden, and vice versa.
const options: LaunchSettingsOptions = { updateIsSettingsModalVisible: (isVisible) => { console.log('Settings modal visibility:', isVisible); }, isSettingsModalVisible: false,};const launchSettingsService = new LaunchSettings();launchSettingsService.launchSettings(options); Copy
const options: LaunchSettingsOptions = { updateIsSettingsModalVisible: (isVisible) => { console.log('Settings modal visibility:', isVisible); }, isSettingsModalVisible: false,};const launchSettingsService = new LaunchSettings();launchSettingsService.launchSettings(options);
Toggles the visibility state of the settings modal.
Param: options
The options for launching settings.
Param: options.updateIsSettingsModalVisible
Function to update the visibility state of the settings modal.
Param: options.isSettingsModalVisible
Current visibility state of the settings modal.
Returns
Remarks
This method toggles the current visibility state of the settings modal. If the modal is currently visible, it will be hidden, and vice versa.
Example