docs(*): more cheatsheet docs

This commit is contained in:
Peter Bacon Darwin
2015-11-06 12:26:24 +00:00
committed by Naomi Black
parent 756727b930
commit 9b3b721f08
10 changed files with 151 additions and 24 deletions

View File

@ -1,8 +1,9 @@
@cheatsheetSection
@name Forms
Forms
@cheatsheetIndex 2
@description
`import {FORM_DIRECTIVES} from 'angular2/angular2';`
@cheatsheetItem
`<input [(ng-model)]=\"userName\">`|`[(ng-model)]`
`<input [(ng-model)]="userName">`|`[(ng-model)]`
Provides two-way data-binding, parsing and validation for form controls.