MCPcopy Index your code
hub / github.com/angular/angular / AppComponent

Class AppComponent

packages/core/test/acceptance/i18n_spec.ts:1681–1698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1679 });
1680
1681 @Component({
1682 selector: 'app',
1683 template: `
1684 <ng-template #myTemp i18n let-type
1685 >{type, select, A {A} B {B} other {other - {{ typeC // i18n(ph="PH WITH SPACES") }}}}
1686 </ng-template>
1687
1688 <div *ngFor="let type of types">
1689 <ng-container *ngTemplateOutlet="myTemp; context: {$implicit: type}"> </ng-container>
1690 </div>
1691 `,
1692 standalone: false,
1693
1694 changeDetection: ChangeDetectionStrategy.Eager,
1695 })
1696 class AppComponent {
1697 types = ['A', 'B', 'C'];
1698 }
1699
1700 TestBed.configureTestingModule({declarations: [AppComponent]});
1701

Callers

nothing calls this directly

Calls 1

ComponentInterface · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…