Last chapter we have discussed how we can share data between two unrelated components using behavioral subjects in Angular 8. Today I am going to explain how you can make an interaction between parent and child component using Angular. Before moving forward, I will generate one component in my flower store angular app. Flower store is the app we used to demonstrate the angular concept talked in series of chapters in this blog. To generate the component, please run below ng CLI command in your command prompt. ng g c flower-card Above command will generate the flower-card.component.ts and corresponding html and CSS files as below. Angular Related Articles: 1. How to set up Angular environment 2. How to create Angular project 3. How to generate component and define routings in Angular 4. Adding styles to your Angular App 5. Angular NgFor directive and trackby 6. Getting Started With PrimeNG Styling in Angular App 7. PrimeNG UI Comp...
Here are some original articles, where you can find latest content on Angular, React Native, Java, HTML/CSS, AS400, DB2 and JavaScript. Since its founding in 2009, we’ve grown from an exhaustive source for consumer tech information on latest trends. Want to get more? We are here to help you.