• The prompt() method displays a dialog box that prompts the visitor for input.

    Parameters

    • message: string

      The text to display in the dialog box.

    • Optional defaultText: string

      The default text to display in the input box. Optional.

    Returns Promise<PromptResult>

  • The prompt() method displays a dialog box that prompts the visitor for input.

    Parameters

    Returns Promise<PromptResult>

Generated using TypeDoc