Monday, 6 May 2024

angular parent to child

 When you are using parent child relation you like to pass

data from parent to data.

but child template intialized before getting data from api side.

to over come this we use noOnchanges in child class to get data after api call also the data will be added


@input child:childpage;

<child [child]="reslult" ></child>

No comments:

Post a Comment

Enviri JD for BI

  Job Description: Experience working closely with business users/leaders. Well-versed in requirement gathering and can lead business users ...