Skip to main content

One doc tagged with "ViewChild"

View All Tags

ViewChild Decorator

The @ViewChild decorator in Angular is a key feature used in component classes to access a child component, directive, or a DOM element directly from the template. This decorator provides a way to interact with child components and elements dynamically and programmatically.