MediaSFU Angular
    Preparing search index...

    Class LaunchMenuModal

    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.

    The options for launching the menu modal.

    Function to update the visibility state of the menu modal.

    Current visibility state of the menu modal.

    const launchMenuModalService = new LaunchMenuModal();
    launchMenuModalService.launchMenuModal({
    updateIsMenuModalVisible: (isVisible) => {
    console.log('Menu modal is now:', isVisible ? 'Visible' : 'Hidden');
    },
    isMenuModalVisible: false, // Initially not visible
    });
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Toggles the visibility of the menu modal.

      Parameters

      • updateIsMenuModalVisible: LaunchMenuModalOptions

        Function to update the visibility state of the menu modal.

      Returns void