I have a question that if we want to pass multiple data to child component using @Input
how to achieve that.
If we have component something like this:
<ex-comp [exData1]="exampleData1" [exData2]="exampleData2"></ex-comp>
How to get the data in the child component. Using two @Input
s?
If so, how does we know which data comes into which
@Input
? Order matters?If not, how to achieve that?
Sorry if I miss basic point in this.
Thanks..