Two way binding is the fetch that the value of the NAM will display on the input field and when to use
type the name here this name you will change accordingly.
So now we are going to create a input field for us back to the cop component under the title.
We type input and we buy the value to the pop stock.
Name
now you see that Ellen Smith is named Bill displayed inside the input field in order to change the name.
We have to create a new fund which runs under the changed name handler.
We create a new function called Change Input handler which is equal to.
You went and said Ma'am you went.
Don't forget dot where are you.
And under the on change the name of the card.
We also add the on change input eco to change Input handler.
Now we can pass these funds on to our cog component and by using Pop stop on change input.
So back to the culture we asked.
Now we can add that on change and bide with a pop star on change input.
Actually this one also can make it a shorter
show.
This keep the same and also work very very well.
So this is how to create a two way binding.