mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
17 lines
331 B
TypeScript
17 lines
331 B
TypeScript
import { Directive, ViewContainerRef } from '@angular/core';
|
|
|
|
/**
|
|
* Directive used as a hook to know where to inject the dynamic loaded component
|
|
*/
|
|
@Directive({
|
|
selector: '[dsDynamicComponentLoader]'
|
|
})
|
|
export class DynamicComponentLoaderDirective {
|
|
|
|
constructor(
|
|
public viewContainerRef: ViewContainerRef,
|
|
) {
|
|
}
|
|
|
|
}
|