Files
NativeScript/nativescript-core/ui/text-view/index.d.ts
Nathan Walker da3c0b973d chore: format
2020-07-11 11:01:40 -07:00

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>;