UNPKG

@hxui/angular

Version:

This README includes the steps that are necessary to import the HxUi-angular into a project or to contribute with development.

19 lines (18 loc) 692 B
import { ViewContainerRef, Injector, ComponentRef, ComponentFactoryResolver } from '@angular/core'; export declare class ModalService { private componentFactoryResolver; private vcRef; private injector; private backdropRef; constructor(componentFactoryResolver: ComponentFactoryResolver); registerViewContainerRef(vcRef: ViewContainerRef): void; registerInjector(injector: Injector): void; /** * Create component dynamically */ create<T>(component: any, parameters?: Object): ComponentRef<T>; /** * Load dynamic component and return componentRef */ private dynamicComponentLoader<T>(component, parameters?); }