parent
2df8aaf1d4
commit
57b4ca29e0
|
@ -335,7 +335,7 @@ figure.image-display
|
|||
We're used to seeing an `$event` object coming from a DOM event.
|
||||
The `ngModelChange` property doesn't produce a DOM event; it's an Angular `EventEmitter`
|
||||
property that returns the input box value when it fires — which is precisely what
|
||||
we should assign to the model's `name' property.
|
||||
we should assign to the model's `name` property.
|
||||
|
||||
Nice to know but is it practical? We almost always prefer `[(ngModel)]`.
|
||||
We might split the binding if we had to do something special in
|
||||
|
|
Loading…
Reference in New Issue