Skip to content

Commit 12478cf

Browse files
108588: Updated browse by switcher to work more like the new AbstractLoaderComponent
1 parent 15342b3 commit 12478cf

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { Directive, ViewContainerRef } from '@angular/core';
2+
3+
/**
4+
* Directive used as a hook to know where to inject the dynamic loaded component
5+
*/
6+
@Directive({
7+
selector: '[dsDynamicComponentLoader]'
8+
})
9+
export class DynamicComponentLoaderDirective {
10+
11+
constructor(
12+
public viewContainerRef: ViewContainerRef,
13+
) {
14+
}
15+
16+
}

0 commit comments

Comments
 (0)