Databinding in Angular / Two way binding in Angular

Опубликовано: 24 Октябрь 2024
на канале: HHP Techno
37
5

Today in this video ,we will see Databinding in Angular.

I already added a new component to Calculate two values.
so to see how to create component you need to click on link which is displaying on top right now or you can find the link in below description.
   • Add a new Component Manually and Data...  


So let’s quickly check the component and run to see how it look like.

As you see on screen i display 2 values and Buttons for Addition / Subtract / Multiply / Reset

so right now these buttons will not calculate any values as we need Databinding for that.

So let's Start Databinding.

Let’s make some code in calculate.component.ts

Let’s add related events in calculate.component.html

Let's run the Application.

All the Functions are working as expected.

Music: https://www.bensound.com