mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00

* feat(text-field): add closeOnReturn property to avoid auto dismissing input on return press * tslint * Update NS public api Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com> Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
17 lines
1.2 KiB
TypeScript
17 lines
1.2 KiB
TypeScript
//@private
|
|
import * as textFieldModule from "@nativescript/core/ui/text-field";
|
|
import * as colorModule from "@nativescript/core/color";
|
|
|
|
export declare function getNativeText(textField: textFieldModule.TextField): string;
|
|
export declare function getNativeHint(textField: textFieldModule.TextField): string;
|
|
export declare function getNativeSecure(textField: textFieldModule.TextField): boolean;
|
|
export declare function getNativeFontSize(textField: textFieldModule.TextField): number;
|
|
export declare function getNativeColor(textField: textFieldModule.TextField): colorModule.Color;
|
|
export declare function getNativePlaceholderColor(textField: textFieldModule.TextField): colorModule.Color;
|
|
export declare function getNativeBackgroundColor(textField: textFieldModule.TextField): colorModule.Color;
|
|
export declare function getNativeTextAlignment(textField: textFieldModule.TextField): string;
|
|
export declare function getNativeFocus(textField: textFieldModule.TextField): boolean;
|
|
export declare function typeTextNatively(textField: textFieldModule.TextField, text: string): void;
|
|
export declare function typeTextNativelyWithReturn(textField: textFieldModule.TextField, text: string): void;
|
|
|