mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
25 lines
867 B
TypeScript
25 lines
867 B
TypeScript
import { EditableTextBase } from '../editable-text-base';
|
|
import { Property } from '../core/properties';
|
|
|
|
/**
|
|
* Represents an editable multiline text view.
|
|
*/
|
|
export class TextView extends EditableTextBase {
|
|
/**
|
|
* 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 [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.
|
|
*/
|
|
ios: any /* UITextView */;
|
|
|
|
/**
|
|
* Limits input to a certain number of lines.
|
|
*/
|
|
maxLines: number;
|
|
}
|
|
|
|
export const maxLinesProperty: Property<EditableTextBase, number>;
|