Angular multiple same children – passing different data

I have a mat-table in angular where each row has a app-mycomponent. I want to send different data to different instance of the app-mycomponent. <table mat-table [dataSource]=”dataSource” multiTemplateDataRows> <ng-container matColumnDef=”greetingType”> <th mat-header-cell *matHeaderCellDef> My header </th> <td mat-cell *matCellDef=”let element”> <app-mycomponent></app-mycomponent> </td> </ng-container> </table> So each row in the table will have a app-mycomponent Now,…

Discover more

how to stop zoom in and zoom out in react?

I am using the below package https://www.npmjs.com/package/react-graph-vis could you please tell me how to stop zoom in and zoom out of all nodes https://stackblitz.com/edit/react-c9tnhw?file=index.js here is my code https://stackblitz.com/edit/react-c9tnhw?file=index.js const options = { layout: { hierarchical: false }, edges: { color: “#F0E” }, nodes: { fixed: true }, height: “600px” };

Discover more