docs: 请简述你的修改...

Chinese translation is different from original text
This commit is contained in:
Runfan Zhou 2019-01-09 16:20:58 +08:00 committed by 雪狼
parent 8527cebff0
commit b9b402747b
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ That's a crisp, compact syntax.
You'll have to rename the directive's `highlightColor` property to `appHighlight` because that's now the color property binding name.
你还要把该指令的 `highlightColor` 改名为 `myHighlight`,因为它是颜色属性目前的绑定名。
你还要把该指令的 `highlightColor` 改名为 `appHighlight`,因为它是颜色属性目前的绑定名。
<code-example path="attribute-directives/src/app/highlight.directive.2.ts" linenums="false" header="src/app/highlight.directive.ts (renamed to match directive selector)" region="color-2"></code-example>