Toggles the visibility of the poll modal.
The options object containing necessary variables and functions.
Function to update the visibility state of the poll modal.
Current visibility state of the poll modal.
const launchPollService = new LaunchPoll();launchPollService.launchPoll({ updateIsPollModalVisible: (isVisible) => { console.log('Poll modal visibility:', isVisible); }, isPollModalVisible: false,}); Copy
const launchPollService = new LaunchPoll();launchPollService.launchPoll({ updateIsPollModalVisible: (isVisible) => { console.log('Poll modal visibility:', isVisible); }, isPollModalVisible: false,});
Toggles the visibility of the poll modal.
Param: options
The options object containing necessary variables and functions.
Param: options.updateIsPollModalVisible
Function to update the visibility state of the poll modal.
Param: options.isPollModalVisible
Current visibility state of the poll modal.
Returns
Example