Wednesday, January 2, 2019

What is Angular 6 Data Binding?

Angular 6 Data Binding

Data Binding is available right from AngularJS, Angular 2,4 and is now available in Angular 6 as well. We use curly braces for data binding - {{}}; this process is called interpolation. We have already seen in our previous examples how we declared the value to the variable title and the same is printed in the browser.
The variable in the app.component.html file is referred as {{title}} and the value of title is initialized in the app.component.ts file and in app.component.html, the value is displayed.
https://www.tutorialspoint.com/index.htm

No comments:

Post a Comment