| Start |
|---|
Input() Parent Component : Initialize users lists.Child component get user from parent component with Input() |
| Simple example of Input Properties Parent element html Parent element ts Child component ts: Child component html: This code will send the inputPropValue from the parent component to the child and it will have the value we have set in the parent component when it arrives there - false in our case. We can then use that value in the child component to, for example add a class to an element. |
Read Article
https://develop.horje.com/learn/1434/reference