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

Class ContainerComponent

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

Source from the content-addressed store, hash-verified

5450
5451 it('should support nodes after <ng-content> when the content is not projected (@if)', async () => {
5452 @Component({
5453 selector: 'app-container',
5454 template: `
5455 @if (open) {
5456 <ng-content />
5457 }
5458 `,
5459 })
5460 class ContainerComponent {
5461 @Input() open = false;
5462 }
5463
5464 @Component({
5465 selector: 'app-wrapper',

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
InputInterface · 0.90

Tested by

no test coverage detected