1 | import { TextBaseCommon } from './text-base-common';
|
2 | import { FormattedString } from './formatted-string';
|
3 | import { CoreTypes } from '../../core-types';
|
4 | export * from './text-base-common';
|
5 | export interface TextTransformation {
|
6 | new (owner: TextBase): any;
|
7 | }
|
8 | export declare class TextBase extends TextBaseCommon {
|
9 | nativeViewProtected: org.nativescript.widgets.StyleableTextView;
|
10 | nativeTextViewProtected: org.nativescript.widgets.StyleableTextView;
|
11 | private _defaultTransformationMethod;
|
12 | private _paintFlags;
|
13 | private _minHeight;
|
14 | private _maxHeight;
|
15 | private _minLines;
|
16 | private _maxLines;
|
17 | private _tappable;
|
18 | private _defaultMovementMethod;
|
19 | initNativeView(): void;
|
20 | resetNativeView(): void;
|
21 | createFormattedTextNative(value: FormattedString): globalAndroid.text.SpannableStringBuilder;
|
22 | private adjustLineBreak;
|
23 | _setNativeText(reset?: boolean): void;
|
24 | _setTappableState(tappable: boolean): void;
|
25 | }
|
26 | export declare function getTransformedText(text: string, textTransform: CoreTypes.TextTransformType): string;
|