mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
269 B
269 B
@cheatsheetSection
Forms
@cheatsheetIndex 3
@description
import {FORM_DIRECTIVES} from 'angular2/angular2';
@cheatsheetItem
syntax:
<input [(ng-model)]="userName">|[(ng-model)]
description:
Provides two-way data-binding, parsing and validation for form controls.