UNPKG

@nativescript/core

Version:

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

19 lines (18 loc) 705 B
import { Label as LabelDefinition } from '.'; import { Background } from '../styling/background'; import { TextBase } from '../text-base'; export declare class Label extends TextBase implements LabelDefinition { nativeViewProtected: TNSLabel; nativeTextViewProtected: TNSLabel; private _fixedSize; createNativeView(): TNSLabel; disposeNativeView(): void; get ios(): TNSLabel; get textWrap(): boolean; set textWrap(value: boolean); _requestLayoutOnTextChanged(): void; onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; private _measureNativeView; private adjustLineBreak; _redrawNativeBackground(value: UIColor | Background): void; }