By clicking "Accept" you agree to our
privacy and cookie policy.
Accept
How to pass data from one component to another
In our case, If we want to change name, we need to emit a custom event from our child component. The parent component reacts to that custom event.
Read more
Please enable JavaScript to continue using this application.