Loading…

How to pass data into components with @Input in Angular 2?

You can do this through property binding feature in Angular2. In order to bind data to components, you need to create a custom property bind. This can create it via “input” binding for passing data from one component to another. You can create the custom input binding via the @Input() decorator!

Suggest An Answer

No suggestions avaliable!

Latest post from Angular 2 Interview Questions

Ask Question