You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Event binding** - This allows for binding an event of an HTML element to a method in the component's class. It is denoted by parentheses (()).
407
409
@@ -439,7 +441,7 @@ The (change) event can also be specifically implemented by other Angular compone
439
441
440
442
[☝️Source of Explaination](https://stackoverflow.com/a/51127794/14292971)
441
443
442
-
### 2. Two ways binding
444
+
### Two ways binding
443
445
444
446
This allows for binding a property of an HTML element to a property in the component's class and vice-versa. This is done by using a combination of property binding and event binding. It is denoted by `[(ngModel)]`.
0 commit comments