mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00

* feat(textview): added maxLines property * feat(text-view): moved implementation to TextView * feat(text-view): changes based on CR * feat(text-view): Normalize behavior in between android and iOS * chore: updated NativeScript.api.md * chore: add new line before return Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com> Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
14 lines
948 B
TypeScript
14 lines
948 B
TypeScript
//@private
|
|
import * as textViewModule from "@nativescript/core/ui/text-view";
|
|
import * as colorModule from "@nativescript/core/color";
|
|
|
|
export declare function getNativeText(textView: textViewModule.TextView): string;
|
|
export declare function getNativeHint(textView: textViewModule.TextView): string;
|
|
export declare function getNativeEditable(textView: textViewModule.TextView): boolean;
|
|
export declare function getNativeFontSize(textView: textViewModule.TextView): number;
|
|
export declare function getNativeColor(textView: textViewModule.TextView): colorModule.Color;
|
|
export declare function getNativeBackgroundColor(textView: textViewModule.TextView): colorModule.Color;
|
|
export declare function getNativeTextAlignment(textView: textViewModule.TextView): string;
|
|
export declare function typeTextNatively(textView: textViewModule.TextView, text: string): void;
|
|
export declare function getNativeMaxLines(textView: textViewModule.TextView): number;
|