MediaSFU Angular
    Preparing search index...

    Class LaunchWaiting

    Service to toggle the visibility of a waiting modal.

    The options to control the waiting modal visibility.

    Function to update the visibility of the waiting modal.

    Current visibility state of the waiting modal.

    const launchWaitingService = new LaunchWaiting();
    launchWaitingService.launchWaiting({
    updateIsWaitingModalVisible: (isVisible) => console.log(`Modal is now ${isVisible ? 'visible' : 'hidden'}`),
    isWaitingModalVisible: false,
    });

    This example toggles the modal's visibility state, making it visible if it was hidden and vice versa.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Toggles the visibility of the waiting modal.

      Parameters

      • updateIsWaitingModalVisible: LaunchWaitingOptions

        Function to update the visibility state of the waiting modal.

      Returns void