Angular 12 tutorial #27 Reusable Component

preview_player
Показать описание
In this angular 12 version video, we learn how to make a Reusable Component in angular 12. This video is made by anil Sidhu in the English language.

Make Child Component.
Use Child Component in For Loop.
Send Data from parent Component
Use Data in Child Component
Apply CSS in child Component
Interview Question

Рекомендации по теме
Комментарии
Автор

hello sir...you are just sending data from one component to other then how it is reusable component. please explain and if possible make detailed video on the reusable component. i have seen your all reusable videos. it looks same ....

theshivrajofficial
Автор

I would have made an interface for the object. Otherwise, you have to type it when you declare the variable as you did. It looks messy and it makes it hard to read. I prefer an interface in the same file as the component logic or exported from another file including multiple interfaces.

alisharobinson