Angular: Jak injektovat child component class podle ID pomocí ViewChild

my_component_markup.html
<app-my-component #myId></app-dynamic-plot>
viewchild_inject.ts
@ViewChild('myid', {read: MyComponent}) myComponent!: MyComponent;

Podívejte se na podobné články podle kategorie: Angular