MCPcopy
hub / github.com/angular/angular / Door

Class Door

packages/core/test/forward_ref_integration_spec.ts:61–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59class App {}
60
61@Component({
62 selector: 'door',
63 template: `{{ frame.name }}(<span *ngFor="let lock of locks">{{ lock.name }}</span
64 >)`,
65 standalone: false,
66})
67class Door {
68 @ContentChildren(forwardRef(() => Lock)) locks!: QueryList<Lock>;
69 frame: Frame;
70
71 constructor(@Inject(forwardRef(() => Frame)) frame: Frame) {
72 this.frame = frame;
73 }
74}
75
76@Directive({
77 selector: 'lock',

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
forwardRefFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…