UNPKG

@blackbaud/skyux

Version:
18 lines (17 loc) 807 B
import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core'; import { SkyModalInstance } from './modal-instance'; import { SkyModalAdapterService } from './modal-adapter.service'; import { SkyModalConfiguationInterface as IConfig } from './modal.interface'; export declare class SkyModalService { private resolver; private injector; private appRef; private adapter; private static hostComponent; constructor(resolver: ComponentFactoryResolver, injector: Injector, appRef: ApplicationRef, adapter: SkyModalAdapterService); open(component: any, providers?: any[]): SkyModalInstance; open(component: any, config?: IConfig): SkyModalInstance; dispose(): void; private getConfigFromParameter(providersOrConfig); private createHostComponent(); }