fix: 移除重复的英文
This commit is contained in:
parent
6891b7fbe2
commit
71eb6213b9
|
@ -1794,8 +1794,6 @@ figure.image-display
|
|||
:marked
|
||||
### NgClass
|
||||
|
||||
### NgClass
|
||||
|
||||
We typically control how elements appear
|
||||
by adding and removing CSS classes dynamically.
|
||||
We can bind to `NgClass` to add or remove several classes simultaneously.
|
||||
|
@ -1845,8 +1843,6 @@ figure.image-display
|
|||
:marked
|
||||
### NgStyle
|
||||
|
||||
### NgStyle
|
||||
|
||||
We can set inline styles dynamically, based on the state of the component.
|
||||
Binding to `NgStyle` lets us set many inline styles simultaneously.
|
||||
|
||||
|
@ -1893,8 +1889,6 @@ figure.image-display
|
|||
:marked
|
||||
### NgIf
|
||||
|
||||
### NgIf
|
||||
|
||||
We can add an element subtree (an element and its children) to the DOM by binding an `NgIf` directive to a #{_truthy} expression.
|
||||
|
||||
通过绑定`NgIf`指令到真值表达式,可以把元素子树(元素及其子元素)添加到 DOM 上。
|
||||
|
@ -1959,8 +1953,6 @@ block dart-no-truthy-falsy
|
|||
:marked
|
||||
### NgSwitch
|
||||
|
||||
### NgSwitch
|
||||
|
||||
We bind to `NgSwitch` when we want to display *one* element tree (an element and its children)
|
||||
from a *set* of possible element trees, based on some condition.
|
||||
Angular puts only the *selected* element tree into the DOM.
|
||||
|
@ -2039,8 +2031,6 @@ block dart-no-truthy-falsy
|
|||
:marked
|
||||
### NgFor
|
||||
|
||||
### NgFor
|
||||
|
||||
`NgFor` is a _repeater_ directive — a way to customize data display.
|
||||
|
||||
`NgFor`是一个_重复器_指令 —— 自定义数据显示的一种方式。
|
||||
|
@ -2144,8 +2134,6 @@ block dart-no-truthy-falsy
|
|||
:marked
|
||||
#### NgForTrackBy
|
||||
|
||||
#### NgForTrackBy
|
||||
|
||||
The `ngFor` directive has the potential to perform poorly, especially with large lists.
|
||||
A small change to one item, an item removed, or an item added can trigger a cascade of DOM manipulations.
|
||||
|
||||
|
|
Loading…
Reference in New Issue