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

Class DynamicComponent

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

Source from the content-addressed store, hash-verified

1136 describe('ViewContainerRef', () => {
1137 it('should work with ViewContainerRef.createComponent', async () => {
1138 @Component({
1139 selector: 'dynamic',
1140 template: ` <span>This is a content of a dynamic component.</span> `,
1141 })
1142 class DynamicComponent {}
1143
1144 @Component({
1145 selector: 'app',

Callers

nothing calls this directly

Calls 3

ComponentInterface · 0.90
injectFunction · 0.90
isPlatformServerFunction · 0.90

Tested by

no test coverage detected