UNPKG

867 BTypeScriptView Raw
1import { EditableTextBase } from '../editable-text-base';
2import { Property } from '../core/properties';
3
4/**
5 * Represents an editable multiline text view.
6 */
7export class TextView extends EditableTextBase {
8 /**
9 * 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.
10 */
11 android: any /* android.widget.EditText */;
12
13 /**
14 * Gets the native iOS [UITextView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextView_Class/) that represents the user interface for this component. Valid only when running on iOS.
15 */
16 ios: any /* UITextView */;
17
18 /**
19 * Limits input to a certain number of lines.
20 */
21 maxLines: number;
22}
23
24export const maxLinesProperty: Property<EditableTextBase, number>;