mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
comment updated
This commit is contained in:
5
ui/dialogs/dialogs.d.ts
vendored
5
ui/dialogs/dialogs.d.ts
vendored
@ -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<PromptResult>;
|
||||
|
||||
/**
|
||||
* 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<LoginResult>;
|
||||
|
Reference in New Issue
Block a user