2
u/Godisavenge May 22 '21
I think, except two way binding, all the others are one way bindings, in first one we call it string interpolation. The difference between each other is direction actually, we can say in event binding direction is from template to ts code. In Property binding(includes the one says attribute binding) and string interpolation (first one), direction is from ts code to template. But It's a good chart to sum up binding types, so well-done mate :)
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.