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
13 lines (12 loc) • 401 B
TypeScript
import { BehaviorSubject } from 'rxjs';
import { Notification } from '../notification';
export declare class Notifier {
trigger: BehaviorSubject<Notification>;
constructor(notification: Notification);
readonly notice: Notification;
readonly isActive: boolean;
readonly type: string;
readonly duration: number | null;
activate(): void;
deactivate(status?: any): void;
}