mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
More files migrated.
This commit is contained in:
@ -20,19 +20,4 @@ export class Label extends common.Label {
|
||||
this._android.setSingleLine(true);
|
||||
this._android.setEllipsize(android.text.TextUtils.TruncateAt.END);
|
||||
}
|
||||
|
||||
get [textProperty.native](): string {
|
||||
return this._android.getText();
|
||||
}
|
||||
set [textProperty.native](value: string) {
|
||||
this._android.setText(value);
|
||||
}
|
||||
|
||||
get [formattedTextProperty.native](): string {
|
||||
return this._android.getText();
|
||||
}
|
||||
set [formattedTextProperty.native](value: FormattedString) {
|
||||
let text = value ? value._formattedText : ""
|
||||
this._android.setText(text);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user