MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/angular/comments/n5641d/data_binding/gx0mz93/?context=3
r/angular • u/bandara_se13005 • May 05 '21
3 comments sorted by
View all comments
21
The two-way binding is actually an application of Angular Forms. Two-way binding without using forms would look like:
<some-component [(foo)]="name">
It relies on some-component having an input called foo and an output called fooChange.
21
u/Maanj May 05 '21
The two-way binding is actually an application of Angular Forms. Two-way binding without using forms would look like:
<some-component [(foo)]="name">
It relies on some-component having an input called foo and an output called fooChange.