@angular/core

ViewChild

decorator

Property decorator that configures a view query. The change detector looks for the first element or the directive matching the selector in the view DOM. If the view DOM changes, and a new child matches the selector, the property is updated.

  
    class ViewChild {}
  
  
Jump to details