Skip to content

Commit 2eaaaf3

Browse files
author
Vladimir Enchev
committed
comment updated
1 parent dc02169 commit 2eaaaf3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/dialogs/dialogs.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@
2222
/**
2323
* The prompt() method displays a dialog box that prompts the visitor for input.
2424
* @param message The text to display in the dialog box.
25+
* @param defaultText The default text to display in the input box.
2526
* @param options The options for the dialog box. Optional.
2627
*/
2728
function prompt(message: string, defaultText?: string, options?: PromptOptions): promises.Promise<PromptResult>;
2829

2930
/**
30-
* The prompt() method displays a dialog box that prompts the visitor for input.
31+
* The login() method displays a login dialog box that prompts the visitor for user name and password.
3132
* @param message The text to display in the dialog box.
33+
* @param userName The default text to display in the user name input box.
34+
* @param password The default text to display in the password input box.
3235
* @param options The options for the dialog box. Optional.
3336
*/
3437
function login(message: string, userName?: string, password?: string, options?: DialogButtonsOptions): promises.Promise<LoginResult>;

0 commit comments

Comments
 (0)