From 2eaaaf3668a9a7a27ad07e8be8dd239710089e6b Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Mon, 9 Jun 2014 17:51:05 +0300 Subject: [PATCH] comment updated --- ui/dialogs/dialogs.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/dialogs/dialogs.d.ts b/ui/dialogs/dialogs.d.ts index 72348e02f..57c6b76c0 100644 --- a/ui/dialogs/dialogs.d.ts +++ b/ui/dialogs/dialogs.d.ts @@ -22,13 +22,16 @@ /** * The prompt() method displays a dialog box that prompts the visitor for input. * @param message The text to display in the dialog box. + * @param defaultText The default text to display in the input box. * @param options The options for the dialog box. Optional. */ function prompt(message: string, defaultText?: string, options?: PromptOptions): promises.Promise; /** - * The prompt() method displays a dialog box that prompts the visitor for input. + * The login() method displays a login dialog box that prompts the visitor for user name and password. * @param message The text to display in the dialog box. + * @param userName The default text to display in the user name input box. + * @param password The default text to display in the password input box. * @param options The options for the dialog box. Optional. */ function login(message: string, userName?: string, password?: string, options?: DialogButtonsOptions): promises.Promise;