This is the archived documentation for Angular v5. Please visit angular.io to see documentation for the current version of Angular.

Query

npm Package @angular/core
Module import { Query } from '@angular/core';
Source core/src/metadata/di.ts

Overview

      
      class Query {
  descendants: boolean
  first: boolean
  read: any
  isViewQuery: boolean
  selector: any
}
    

Description

Base class for query metadata.

See ContentChildren, ContentChild, ViewChildren, ViewChild for more information.

Members

      
      descendants: boolean
    

      
      first: boolean
    

      
      read: any
    

      
      isViewQuery: boolean
    

      
      selector: any