outsystems-ui - v3.0.0
    Preparing search index...

    Function ClickOutsideToClose

    • Function that will toggle the behaviour to close submenu when clicking the body

      Parameters

      • submenuId: string

        The id of the Submenu element

      • clickOutsideToClose: boolean

        Whether a click outside the submenu closes it

      Returns string

      the API response envelope as a JSON string: { code, isSuccess, message, value? }