From 71eb6213b9068d196e39c7846b8c6ac7c81dcd63 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Fri, 3 Mar 2017 16:32:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E7=9A=84=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/docs/ts/latest/guide/template-syntax.jade | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/public/docs/ts/latest/guide/template-syntax.jade b/public/docs/ts/latest/guide/template-syntax.jade index 8f6d5b7fc3..7659ce8b06 100644 --- a/public/docs/ts/latest/guide/template-syntax.jade +++ b/public/docs/ts/latest/guide/template-syntax.jade @@ -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.