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

Class MyIfComp

packages/platform-browser/test/testing_public_spec.ts:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67class ParentComp {}
68
69@Component({
70 template: `MyIf(<span *ngIf="showMore()">More</span>)`,
71 imports: [NgIf],
72})
73@Injectable()
74class MyIfComp {
75 showMore = signal(false);
76}
77
78@Component({
79 template: `<span>ChildChild</span>`,

Callers

nothing calls this directly

Calls 3

ComponentInterface · 0.90
InjectableInterface · 0.90
signalFunction · 0.90

Tested by

no test coverage detected