biplab-notifier
Version:
This is a notification npm package, it can be use as simple notification or modal dialog, a lot of customization option are available as well, checkout the github repo and examples
19 lines (18 loc) • 689 B
TypeScript
import { OnInit, TemplateRef } from '@angular/core';
import { Notifier } from '../action/notifier';
import { NotificationHint } from '../layout/notifier';
import { Notification } from '../notification';
import { NotifierTemplate } from '../template/notifier';
export declare class NotifierComponent implements OnInit {
notifierTemplates?: NotifierTemplate;
customTemplate: TemplateRef<any>;
notification: Notification;
notifier: Notifier;
constructor();
ngOnInit(): void;
close(event: any): void;
readonly status: boolean;
readonly timer: number | null;
readonly layout: 'single' | 'multi' | null;
readonly notificationHint: NotificationHint;
}