mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Feature: New Dialog-Prompt-Input-Type for E-Mails (#3905)
* #3118 Feature: New Dialog-Prompt-Input-Type for E-Mails * Forgot to change a comment Changed Password to Email in a comment.
This commit is contained in:
committed by
Hristo Hristov
parent
59e34f0bfc
commit
979c2fe850
7
tns-core-modules/ui/dialogs/dialogs.d.ts
vendored
7
tns-core-modules/ui/dialogs/dialogs.d.ts
vendored
@@ -14,6 +14,11 @@ export module inputType {
|
||||
* Password input type.
|
||||
*/
|
||||
export var password: string;
|
||||
|
||||
/**
|
||||
* Email input type.
|
||||
*/
|
||||
export var email: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -167,7 +172,7 @@ export interface PromptOptions extends ConfirmOptions {
|
||||
defaultText?: string;
|
||||
|
||||
/**
|
||||
* Gets or sets the prompt input type (plain text or password).
|
||||
* Gets or sets the prompt input type (plain text, password, or email).
|
||||
*/
|
||||
inputType?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user