This method updates the visibility state of the menu modal by calling the provided
function with the negated current visibility state. If the modal is currently visible,
it will be hidden, and vice versa.
Param: options
The options for launching the menu modal.
Param: options.updateIsMenuModalVisible
Function to update the visibility state of the menu modal.
Toggles the visibility of the menu modal.
This method updates the visibility state of the menu modal by calling the provided function with the negated current visibility state. If the modal is currently visible, it will be hidden, and vice versa.
Param: options
The options for launching the menu modal.
Param: options.updateIsMenuModalVisible
Function to update the visibility state of the menu modal.
Param: options.isMenuModalVisible
Current visibility state of the menu modal.
Example