fix: 翻译了《速查表》的剩余部分

This commit is contained in:
Zhicheng Wang 2018-03-14 09:26:46 +08:00 committed by Zhicheng Wang
parent 12f330a27f
commit 21ffc7d24f
1 changed files with 32 additions and 3 deletions

View File

@ -11,6 +11,8 @@
Bootstrapping Bootstrapping
引导/启动
</th> </th>
<th> <th>
@ -338,6 +340,9 @@ is available to <code>declarations</code> of this module.</p>
<p>The <code>*</code> symbol turns the current element into an embedded template. Equivalent to: <p>The <code>*</code> symbol turns the current element into an embedded template. Equivalent to:
<code>&lt;ng-template [myUnless]="myExpression"&gt;&lt;p&gt;...&lt;/p&gt;&lt;/ng-template&gt;</code></p> <code>&lt;ng-template [myUnless]="myExpression"&gt;&lt;p&gt;...&lt;/p&gt;&lt;/ng-template&gt;</code></p>
<p>这个 <code>*</code> 符号会把当前元素转换成一个内嵌的模板。它等价于:
<code>&lt;ng-template [myUnless]="myExpression"&gt;&lt;p&gt;...&lt;/p&gt;&lt;/ng-template&gt;</code></p>
</td> </td>
</tr><tr> </tr><tr>
@ -415,6 +420,8 @@ is available to <code>declarations</code> of this module.</p>
Built-in directives Built-in directives
内置指令
</th> </th>
<th> <th>
@ -505,6 +512,8 @@ is available to <code>declarations</code> of this module.</p>
<p>Allows you to assign styles to an HTML element using CSS. You can use CSS directly, as in the first example, or you can call a method from the component.</p> <p>Allows you to assign styles to an HTML element using CSS. You can use CSS directly, as in the first example, or you can call a method from the component.</p>
<p>允许你使用 CSS 为 HTML 元素指定样式。你可以像第一个例子那样直接使用 CSS也可以调用组件中的方法。</p>
</td> </td>
</tr> </tr>
@ -518,6 +527,8 @@ is available to <code>declarations</code> of this module.</p>
Forms Forms
表单
</th> </th>
<th> <th>
@ -557,6 +568,8 @@ is available to <code>declarations</code> of this module.</p>
Class decorators Class decorators
类装饰器
</th> </th>
<th> <th>
@ -631,6 +644,9 @@ is available to <code>declarations</code> of this module.</p>
</p> </p>
<p>声明某个类具有一些依赖。当依赖注入器要创建这个类的实例时,应该把这些依赖注入到它的构造函数中。</p>
</td> </td>
</tr> </tr>
@ -644,6 +660,8 @@ is available to <code>declarations</code> of this module.</p>
Directive configuration Directive configuration
指令配置项
</th> </th>
<th> <th>
@ -704,15 +722,18 @@ is available to <code>declarations</code> of this module.</p>
Component configuration Component configuration
组件配置项
</th> </th>
<th> <th>
<p> <p><code>@Component</code> extends <code>@Directive</code>,
<code>@Component</code> extends <code>@Directive</code>,
so the <code>@Directive</code> configuration applies to components as well</p> so the <code>@Directive</code> configuration applies to components as well</p>
<p><code>@Component</code> 继承自 <code>@Directive</code>
因此,<code>@Directive</code> 的这些配置项也同样适用于组件。</p>
</th> </th>
</tr> </tr>
@ -792,6 +813,8 @@ so the <code>@Directive</code> configuration applies to components as well</p>
Class field decorators for directives and components Class field decorators for directives and components
给指令和组件使用的类属性配置项
</th> </th>
<th> <th>
@ -944,6 +967,8 @@ so the <code>@Directive</code> configuration applies to components as well</p>
Directive and component change detection and lifecycle hooks Directive and component change detection and lifecycle hooks
指令与组件的变更检测与生命周期钩子
</th> </th>
<th> <th>
@ -1113,6 +1138,8 @@ so the <code>@Directive</code> configuration applies to components as well</p>
Dependency injection configuration Dependency injection configuration
依赖注入配置项
</th> </th>
<th> <th>
@ -1180,6 +1207,8 @@ so the <code>@Directive</code> configuration applies to components as well</p>
Routing and navigation Routing and navigation
路由与导航
</th> </th>
<th> <th>