MediaSFU Angular
    Preparing search index...

    Class LaunchBackground

    Toggles the visibility of the background modal.

    This method updates the visibility state of the background modal by calling the provided update function with the negation of the current visibility state.

    The options object containing necessary variables and functions.

    Function to update the visibility state of the background modal.

    Current visibility state of the background modal.

    const options = {
    updateIsBackgroundModalVisible: (isVisible) => {
    console.log(`Background modal is now ${isVisible ? 'visible' : 'hidden'}.`);
    },
    isBackgroundModalVisible: false,
    };

    const launchBackgroundService = new LaunchBackground();
    launchBackgroundService.launchBackground(options);
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Function

      Toggles the visibility of the background modal.

      Parameters

      • options: LaunchBackgroundOptions

        The options object containing necessary variables and functions.

        • updateIsBackgroundModalVisible

          Function to update the visibility state of the background modal.

        • isBackgroundModalVisible

          Current visibility state of the background modal.

      Returns void