UNPKG

869 BTypeScriptView Raw
1import { Icons } from './icons';
2import { NotificationAnimationType } from '../enums/notification-animation-type.enum';
3export declare type VerticalPosition = 'top' | 'bottom' | 'middle';
4export declare type HorizontalPosition = 'right' | 'left' | 'center';
5export interface Position extends Array<VerticalPosition | HorizontalPosition> {
6 0: VerticalPosition;
7 1: HorizontalPosition;
8}
9export interface Options {
10 position?: Position;
11 timeOut?: number;
12 showProgressBar?: boolean;
13 pauseOnHover?: boolean;
14 lastOnBottom?: boolean;
15 clickToClose?: boolean;
16 clickIconToClose?: boolean;
17 maxLength?: number;
18 maxStack?: number;
19 preventDuplicates?: boolean;
20 preventLastDuplicates?: boolean | string;
21 theClass?: string;
22 rtl?: boolean;
23 animate?: NotificationAnimationType;
24 icons?: Icons;
25}