Angular: How to inject child component class by ID via ViewChild
my_component_markup.html
<app-my-component #myId></app-dynamic-plot>
example.ts
@ViewChild('myid', {read: MyComponent}) myComponent!: MyComponent;
Check out similar posts by category:
Angular
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow