fix guide - forms.jade
This commit is contained in:
parent
2eedd15cd1
commit
6af97d2529
|
@ -539,13 +539,15 @@ figure.image-display
|
||||||
The diagnostic is evidence that values really are flowing from the input box to the model and
|
The diagnostic is evidence that values really are flowing from the input box to the model and
|
||||||
back again.
|
back again.
|
||||||
|
|
||||||
|
诊断信息可以证明,数据确实从输入框流动到模型,再反向流动回来。
|
||||||
|
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
:marked
|
:marked
|
||||||
That's **two-way data binding**!
|
That's **two-way data binding**!
|
||||||
For more information about `[(ngModel)]` and two-way data bindings, see
|
For more information about `[(ngModel)]` and two-way data bindings, see
|
||||||
the [Template Syntax](template-syntax.html#ngModel) page.
|
the [Template Syntax](template-syntax.html#ngModel) page.
|
||||||
|
|
||||||
诊断信息可以证明,数据确实从输入框流动到模型,再反向流动回来。**这就是双向数据绑定!**
|
**这就是双向数据绑定!**更多关于`[(ngModel)]`和双向数据绑定的信息见[模板语法](template-syntax.html#ngModel) 页面。
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
Notice that we also added a `name` attribute to our `<input>` tag and set it to "name"
|
Notice that we also added a `name` attribute to our `<input>` tag and set it to "name"
|
||||||
|
|
Loading…
Reference in New Issue