Update Modules30Changes.md

This commit is contained in:
Alexander Vakrilov
2017-03-28 10:54:01 +03:00
committed by GitHub
parent 7acf39860a
commit 1dfc3da1cb

View File

@ -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";