forked from bradleygore/nativescript-textinputlayout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtextInputLayout.d.ts
More file actions
66 lines (59 loc) · 2.72 KB
/
textInputLayout.d.ts
File metadata and controls
66 lines (59 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/**
* TextInputLayout Class
* Acts as a wrapper around <TextField> or <TextView> components
* Implements functionality outline in android's TextInputLayout component
*/
import { Color } from "tns-core-modules/color";
import { View, Property } from "tns-core-modules/ui/core/view";
export class TextInputLayout extends View {
/**
* Native [android TextInputLayout](http://developer.android.com/reference/android/support/design/widget/TextInputLayout.html)
*/
android: any;
ios: any;
public hint: string;
public error: string;
//ANDROID ONLY
public hintAnimationEnabled?: boolean;
public hintTextAppearance?: string;
public counterEnabled?: boolean;
public errorEnabled?: boolean;
//IOS Only
public title?: string;
public tintColor?: Color;
public lineColor?: Color;
public selectedTintColor?: Color;
public selectedLineColor?: Color;
public selectedTitleColor?: Color;
public lineHeight?: number;
public selectedLineHeight?: number;
public errorColor?: Color;
public iconColor?: Color;
public selectedIconColor?: Color;
public iconFont?: string;
public iconText?: string;
public iconMarginBottom?: number;
public iconMarginLeft?: number;
public iconRotationDegrees?: number;
}
export const errorProperty: Property<TextInputLayout, string>;
export const hintProperty: Property<TextInputLayout, string>;
export const hintAnimationEnabledProperty: Property<TextInputLayout, boolean>;
export const hintTextAppearanceProperty: Property<TextInputLayout, string>;
export const counterEnabledProperty: Property<TextInputLayout, boolean>;
export const errorEnabledProperty: Property<TextInputLayout, boolean>;
export const titleProperty: Property<TextInputLayout, string>;
export const tintColorProperty: Property<TextInputLayout, Color>;
export const lineColorProperty: Property<TextInputLayout, Color>;
export const selectedTitleColorProperty: Property<TextInputLayout, Color>;
export const selectedLineColorProperty: Property<TextInputLayout, Color>;
export const lineHeightProperty: Property<TextInputLayout, number>;
export const selectedLineHeightProperty: Property<TextInputLayout, number>;
export const errorColorProperty: Property<TextInputLayout, Color>;
export const iconColorProperty: Property<TextInputLayout, Color>;
export const selectedIconColorProperty: Property<TextInputLayout, Color>;
export const iconFontProperty: Property<TextInputLayout, UIFont>;
export const iconTextProperty: Property<TextInputLayout, string>;
export const iconMarginBottomProperty: Property<TextInputLayout, number>;
export const iconMarginLeftProperty: Property<TextInputLayout, number>;
export const iconRotationDegreesProperty: Property<TextInputLayout, number>;