ViewChild: Calling the Public API of a Child Component
tldr;
Sometimes we need to interact with a child component from a parent component, but it’s not viable to do so through Input
s. ViewChild
allows you to gain access to the child component and call methods…