src/component-loader/content-ref.class.ts
/**
* @copyright Valor Software
* @copyright Angular ng-bootstrap team
*/
import { ComponentRef, ViewRef } from '@angular/core';
export class ContentRef {
nodes: any[];
viewRef?: ViewRef;
componentRef?: ComponentRef<any>;
constructor(
nodes: any[],
viewRef?: ViewRef,
componentRef?: ComponentRef<any>
) {
this.nodes = nodes;
this.viewRef = viewRef;
this.componentRef = componentRef;
}
}