Toggles the visibility of the co-host modal.
This method is used to show or hide the co-host modal based on the current visibility state.
The options object containing necessary variables and functions.
Function to update the visibility state of the co-host modal.
Current visibility state of the co-host modal.
const options: LaunchCoHostOptions = { updateIsCoHostModalVisible: (isVisible) => { console.log('Co-Host Modal is now:', isVisible ? 'Visible' : 'Hidden'); }, isCoHostModalVisible: false,};const launchCoHostService = new launchCoHost();launchCoHostService.launchCoHost(options); Copy
const options: LaunchCoHostOptions = { updateIsCoHostModalVisible: (isVisible) => { console.log('Co-Host Modal is now:', isVisible ? 'Visible' : 'Hidden'); }, isCoHostModalVisible: false,};const launchCoHostService = new launchCoHost();launchCoHostService.launchCoHost(options);
Toggles the visibility of the co-host modal.
This method is used to show or hide the co-host modal based on the current visibility state.
Param: options
The options object containing necessary variables and functions.
Param: options.updateIsCoHostModalVisible
Function to update the visibility state of the co-host modal.
Param: options.isCoHostModalVisible
Current visibility state of the co-host modal.
Returns
Example