UNPKG

ngx-modialog

Version:
16 lines (15 loc) 775 B
import { ModuleWithProviders, Type } from '@angular/core'; export declare class ModalModule { /** * Returns a ModalModule pre-loaded with a list of dynamically inserted components. * Since dynamic components are not analysed by the angular compiler they must register manually * using entryComponents, this is an easy way to do it. * @param entryComponents A list of dynamically inserted components (dialog's). */ static withComponents(entryComponents: Array<Type<any> | any[]>): ModuleWithProviders; /** * Returns a NgModule for use in the root Module. * @param entryComponents A list of dynamically inserted components (dialog's). */ static forRoot(entryComponents?: Array<Type<any> | any[]>): ModuleWithProviders; }