UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

26 lines (22 loc) 740 B
import { TextBase } from '../text-base'; /** * Represents a text label. * * @nsView Label */ export class Label extends TextBase { /** * Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS. */ android: any /* android.widget.TextView */; /** * Gets the native [UILabel](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UILabel_Class/) that represents the user interface for this component. Valid only when running on iOS. */ ios: any /* UILabel */; /** * Gets or sets whether the Label wraps text or not. * * @nsProperty */ textWrap: boolean; }