Angular 2 Data Binding
Hi Viewers,
4 Types of Data binding using in Angular 2
1) Interpolation
Example Syntax {{}}
2) Property Binding
It's a one way data binding.
Property binding return String, Boolean, number only
Example Syntax [title] =" Must be data property".
3) Event Binding
1) From DOM to Component
2) Any changes in your HTML It's reflect in your component.
4) Two way data binding
1) Angular 2 is a two day data binding
4 Types of Data binding using in Angular 2
1) Interpolation
Example Syntax {{}}
2) Property Binding
It's a one way data binding.
Property binding return String, Boolean, number only
Example Syntax [title] =" Must be data property".
3) Event Binding
1) From DOM to Component
2) Any changes in your HTML It's reflect in your component.
4) Two way data binding
1) Angular 2 is a two day data binding
Comments
Post a Comment