menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

@ViewChild...
source image

Medium

3w

read

368

img
dot

Image Credit: Medium

@ViewChild in Angular

  • The @ViewChild decorator is a powerful tool in Angular that allows you to access child components, directives, or DOM elements in your code.
  • With @ViewChild, a parent component can find and interact with a child component, directive, or DOM element directly.
  • It enables the parent component to call methods or change properties in its child component or specific elements in its template.
  • @ViewChild can be used to focus input fields in child components or access DOM elements within the same component.

Read Full Article

like

22 Likes

For uninterrupted reading, download the app