Files
NativeScript/tests/app/ui/text-field/text-field-tests-native.d.ts
2016-12-19 10:36:25 +02:00

13 lines
955 B
TypeScript

//@private
import * as textFieldModule from "ui/text-field";
import * as colorModule from "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 typeTextNatively(textField: textFieldModule.TextField, text: string): void;