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,
});

Constructors

Methods

Constructors

Methods