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

Class MyIfComp

packages/core/test/component_fixture_spec.ts:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56class SecondDeferredComp {}
57
58@Component({
59 template: `MyIf(<span *ngIf="showMore()">More</span>)`,
60 imports: [NgIf],
61})
62@Injectable()
63class MyIfComp {
64 showMore = signal(false);
65}
66
67@Component({
68 template: `<span (click)="click()">{{ text }}</span>`,

Callers

nothing calls this directly

Calls 3

ComponentInterface · 0.90
InjectableInterface · 0.90
signalFunction · 0.90

Tested by

no test coverage detected