• The action() method displays a action box that prompts the visitor to choose some action.

    Parameters

    • message: string

      The text to display in the dialog box.

    • cancelButtonText: string

      The text to display in the cancel button.

    • actions: string[]

      List of available actions.

    Returns Promise<string>

  • The action() method displays a action box that prompts the visitor to choose some action.

    Parameters

    Returns Promise<string>