UNPKG

@asi-ngtools/lib

Version:

This project is a little components library, simple to use, which will help you to simplify your project.

14 lines (13 loc) 692 B
import { ComponentType } from './../common/component-type'; import { AsiNotification } from './notification/asi-notification.component'; import { AsiNotificationConfig } from './asi-notification-config'; import { ComponentFactoryResolver, ApplicationRef } from '@angular/core'; export declare class AsiNotificationService { private resolver; private appRef; private containerByPosition; constructor(resolver: ComponentFactoryResolver, appRef: ApplicationRef); fromComponent<T>(content: ComponentType<T>, config: AsiNotificationConfig): AsiNotification<T>; private getContainerForPosition(position); private createNotificiation<T>(content, containerRef, config); }