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

Class InsertionComponent

packages/platform-server/test/full_app_hydration_spec.ts:1628–1635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1626 describe('transplanted views', () => {
1627 it('should work when passing TemplateRef to a different component', async () => {
1628 @Component({
1629 imports: [CommonModule],
1630 selector: 'insertion-component',
1631 template: ` <ng-container [ngTemplateOutlet]="template"></ng-container> `,
1632 })
1633 class InsertionComponent {
1634 @Input() template!: TemplateRef<unknown>;
1635 }
1636
1637 @Component({
1638 selector: 'app',

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
InputInterface · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…