mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: format
This commit is contained in:
44
nativescript-core/ui/text-field/index.d.ts
vendored
44
nativescript-core/ui/text-field/index.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
import { EditableTextBase } from "../editable-text-base";
|
||||
import { Property } from "../core/properties";
|
||||
import { Property } from "../core/properties";
|
||||
|
||||
export const secureProperty: Property<TextField, boolean>;
|
||||
|
||||
@@ -7,30 +7,30 @@ export const secureProperty: Property<TextField, boolean>;
|
||||
* Represents an editable text field.
|
||||
*/
|
||||
export class TextField extends EditableTextBase {
|
||||
public static returnPressEvent: string;
|
||||
public static returnPressEvent: string;
|
||||
|
||||
/**
|
||||
* Gets the native [android widget](http://developer.android.com/reference/android/widget/EditText.html) that represents the user interface for this component. Valid only when running on Android OS.
|
||||
*/
|
||||
android: any /* android.widget.EditText */;
|
||||
/**
|
||||
* Gets the native [android widget](http://developer.android.com/reference/android/widget/EditText.html) that represents the user interface for this component. Valid only when running on Android OS.
|
||||
*/
|
||||
android: any /* android.widget.EditText */;
|
||||
|
||||
/**
|
||||
* Gets the native iOS [UITextField](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextField_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
||||
*/
|
||||
ios: any /* UITextField */;
|
||||
/**
|
||||
* Gets the native iOS [UITextField](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextField_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
||||
*/
|
||||
ios: any /* UITextField */;
|
||||
|
||||
/**
|
||||
* Gets or sets if a text field is for password entry.
|
||||
*/
|
||||
secure: boolean;
|
||||
/**
|
||||
* Gets or sets if a text field is for password entry.
|
||||
*/
|
||||
secure: boolean;
|
||||
|
||||
/**
|
||||
* Gets or sets if a text field should dismiss on return.
|
||||
*/
|
||||
closeOnReturn: boolean;
|
||||
/**
|
||||
* Gets or sets if a text field should dismiss on return.
|
||||
*/
|
||||
closeOnReturn: boolean;
|
||||
|
||||
/**
|
||||
* iOS only (to avoid 12+ auto suggested strong password handling)
|
||||
*/
|
||||
secureWithoutAutofill: boolean;
|
||||
/**
|
||||
* iOS only (to avoid 12+ auto suggested strong password handling)
|
||||
*/
|
||||
secureWithoutAutofill: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user