UNPKG

@asi-ngtools/lib

Version:

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

16 lines (15 loc) 575 B
import { AsiNotificationPosition, AsiNotificationConfig } from '../asi-notification-config'; import { ViewContainerRef } from '@angular/core'; export declare class AsiNotification<T> { viewContainerRef: ViewContainerRef; class: string; private _component; private _config; icon: 'fa fa-exclamation' | 'fa fa-info' | 'fa fa-check'; withIcon: boolean; constructor(viewContainerRef: ViewContainerRef); getComponent(): T; setConfig(config: AsiNotificationConfig): void; getPosition(): AsiNotificationPosition; private updateClass(); }