fix: upgrade 1 example error.
This commit is contained in:
parent
0c862667e7
commit
b74b446b2c
|
@ -948,7 +948,6 @@ table
|
|||
:marked
|
||||
`<my-component [myValue]="anExpression">`
|
||||
tr
|
||||
th Two-way binding
|
||||
th
|
||||
p Two-way binding
|
||||
p 双向绑定
|
||||
|
@ -1463,7 +1462,7 @@ code-example(format="").
|
|||
|
||||
新的“电话列表(phone list)”组件控制器类看起来是这样的:
|
||||
|
||||
+makeExample('upgrade-phonecat/ts/classes/app/js/phone_list/phone_list.controller.ts', null, 'app/js/phone_list/phone_list.controller.ts')
|
||||
+makeExample('upgrade-phonecat-1-typescript/ts/app/phone-list/phone-list.component.ts', null, 'app/phone-list/phone-list.component.ts')
|
||||
|
||||
:marked
|
||||
What was previously done in the controller function is now done in the class
|
||||
|
|
Loading…
Reference in New Issue