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 Inputs. ViewChild allows you to gain access to the child component and call methods from its public API as needed. Background I was recently working on a project where I needed to use our …
ViewChild: Calling the Public API of a Child Component Read More »