MCPcopy Create free account
hub / github.com/angular/angular / ɵɵcontentQuery

Function ɵɵcontentQuery

packages/core/src/render3/instructions/queries.ts:35–43  ·  view source on GitHub ↗
(
  directiveIndex: number,
  predicate: ProviderToken<unknown> | string | string[],
  flags: number,
  read?: any,
)

Source from the content-addressed store, hash-verified

33 * @codeGenApi
34 */
35export function ɵɵcontentQuery<T>(
36 directiveIndex: number,
37 predicate: ProviderToken<unknown> | string | string[],
38 flags: number,
39 read?: any,
40): typeof ɵɵcontentQuery {
41 createContentQuery<T>(directiveIndex, predicate, flags, read);
42 return ɵɵcontentQuery;
43}
44
45/**
46 * Creates a new view query by initializing internal data structures.

Callers

nothing calls this directly

Calls 1

createContentQueryFunction · 0.90

Tested by

no test coverage detected