MCPcopy Create free account
hub / github.com/angular/angular / Door

Class Door

packages/core/test/forward_ref_integration_spec.ts:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
forwardRefFunction · 0.90

Tested by

no test coverage detected