• Sets the message used to confirm the user when he is closing the browser window.

    Parameters

    • msg: string

      the message to show in the confirm dialog

    Returns void