mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Update Modules30Changes.md
This commit is contained in:

committed by
GitHub

parent
7acf39860a
commit
1dfc3da1cb
@ -142,8 +142,8 @@ export class MyTextViewCommon extends View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Define textProperty and register it
|
// Define textProperty and register it
|
||||||
export const textProperty = new Property<TextBaseCommon, string>({ name: "text", defaultValue: "" });
|
export const textProperty = new Property<MyTextViewCommon, string>({ name: "text", defaultValue: "" });
|
||||||
textProperty.register(TextBaseCommon);
|
textProperty.register(MyTextViewCommon);
|
||||||
|
|
||||||
// Define and register the "text-align" CSS property
|
// Define and register the "text-align" CSS property
|
||||||
export type TextAlignment = "left" | "center" | "right";
|
export type TextAlignment = "left" | "center" | "right";
|
||||||
|
Reference in New Issue
Block a user