angular2-notifications-zth
Version:
> A light and easy to use notifications library for Angular 2. ~~It features both regular page notifications (toasts) and push notifications.~~
21 lines (20 loc) • 690 B
TypeScript
import { Icons } from './icons';
export declare type Position = ['top' | 'bottom' | 'middle', 'right' | 'left' | 'center'];
export declare type Animate = 'fade' | 'fromTop' | 'fromRight' | 'fromBottom' | 'fromLeft' | 'rotate' | 'scale';
export interface Options {
position?: Position;
timeOut?: number;
showProgressBar?: boolean;
pauseOnHover?: boolean;
lastOnBottom?: boolean;
clickToClose?: boolean;
clickIconToClose?: boolean;
maxLength?: number;
maxStack?: number;
preventDuplicates?: boolean;
preventLastDuplicates?: boolean | string;
theClass?: string;
rtl?: boolean;
animate?: Animate;
icons?: Icons;
}