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

Class DynamicComponent

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

Source from the content-addressed store, hash-verified

1130 describe('ViewContainerRef', () => {
1131 it('should work with ViewContainerRef.createComponent', async () => {
1132 @Component({
1133 selector: 'dynamic',
1134 template: ` <span>This is a content of a dynamic component.</span> `,
1135 })
1136 class DynamicComponent {}
1137
1138 @Component({
1139 selector: 'app',

Callers

nothing calls this directly

Calls 3

ComponentInterface · 0.90
injectFunction · 0.90
isPlatformServerFunction · 0.90

Tested by

no test coverage detected