Toggles the visibility of the configure whiteboard modal.
Options to control whiteboard configuration modal.
Function to update the modal's visibility state.
Current visibility state of the configure whiteboard modal.
This function uses the current visibility state to toggle the whiteboard configuration modal on or off.
const launchService = new LaunchConfigureWhiteboard();launchService.launchConfigureWhiteboard({ updateIsConfigureWhiteboardModalVisible: (visible) => console.log('Modal Visible:', visible), isConfigureWhiteboardModalVisible: false}); Copy
const launchService = new LaunchConfigureWhiteboard();launchService.launchConfigureWhiteboard({ updateIsConfigureWhiteboardModalVisible: (visible) => console.log('Modal Visible:', visible), isConfigureWhiteboardModalVisible: false});
In this example, the modal visibility state is toggled, and the updated visibility state is logged.
Toggles the visibility of the configure whiteboard modal.
Param: options
Options to control whiteboard configuration modal.
Param: options.updateIsConfigureWhiteboardModalVisible
Function to update the modal's visibility state.
Param: options.isConfigureWhiteboardModalVisible
Current visibility state of the configure whiteboard modal.
This function uses the current visibility state to toggle the whiteboard configuration modal on or off.
Example
In this example, the modal visibility state is toggled, and the updated visibility state is logged.