Open timkindberg opened 8 years ago
In Angular 2, [(ng-model)]="prop" desugars to [ng-model]="prop" (ng-model-change)="prop=$event".
[(ng-model)]="prop"
[ng-model]="prop" (ng-model-change)="prop=$event"
Alter our current two way binding to behave more similarly to this.
BTW, I think it's prop-change (not changed) :smiley:
prop-change
changed
@gkalpak thanks!
In Angular 2,
[(ng-model)]="prop"
desugars to[ng-model]="prop" (ng-model-change)="prop=$event"
.Alter our current two way binding to behave more similarly to this.