#5 Angular Data binding | String Interpolation | Property & Event Binding | Two Way Data Binding

Publié le: 16 novembre 2022
sur la chaîne: VSMtutorial
261
4

Data binding is communication between the typescript code/business logic of the component and the template(UI)
String Interpolation : It is used when hardcoded data/value inside a component should be displayed directly on the view
To bind the value to the template, use double curly braces {{}}.
Property Binding: In property binding, we are binding data to the property of DOM element
We need property binding in case we need to bind properties such as Boolean because string interpolation only works with string
Event Binding:
Event Binding handles user interaction with an application in the form of a mouse action
Two Way Data binding: Two-way data binding is a combination of Property and Event binding. It is a continuous synchronization of data from view to the component and vice versa


Sur cette page du site, vous pouvez voir la vidéo en ligne #5 Angular Data binding | String Interpolation | Property & Event Binding | Two Way Data Binding durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur VSMtutorial 16 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 261 fois et il a aimé 4 téléspectateurs. Bon visionnage!