删除多余的英文
删除多余的英文:`In the next section, define an `
This commit is contained in:
parent
fc9c871d6e
commit
1034acb0cf
@ -214,7 +214,7 @@ The parentheses around `click` tell Angular to listen for the `<li>` element's
|
|||||||
When the user clicks in the `<li>`, Angular executes the `onSelect(hero)` expression.
|
When the user clicks in the `<li>`, Angular executes the `onSelect(hero)` expression.
|
||||||
|
|
||||||
|
|
||||||
In the next section, define an `click` 外面的圆括号会让 Angular 监听这个 `<li>` 元素的 `click` 事件。
|
`click` 外面的圆括号会让 Angular 监听这个 `<li>` 元素的 `click` 事件。
|
||||||
当用户点击 `<li>` 时,Angular 就会执行表达式 `onSelect(hero)`。
|
当用户点击 `<li>` 时,Angular 就会执行表达式 `onSelect(hero)`。
|
||||||
|
|
||||||
`onSelect()` method in `HeroesComponent` to
|
`onSelect()` method in `HeroesComponent` to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user