src/lib/toast/simple-notifications/interfaces/options.type.ts
animate |
animate: |
Type : "fromRight" | "fromLeft" | "rotate" | "scale"
|
clickToClose |
clickToClose: |
Type : boolean
|
icons |
icons: |
Type : Icons
|
lastOnBottom |
lastOnBottom: |
Type : boolean
|
maxLength |
maxLength: |
Type : number
|
maxStack |
maxStack: |
Type : number
|
pauseOnHover |
pauseOnHover: |
Type : boolean
|
position |
position: |
Type : ["top" | "bottom", "right" | "left"]
|
preventDuplicates |
preventDuplicates: |
Type : number
|
preventLastDuplicates |
preventLastDuplicates: |
Type : string | boolean
|
rtl |
rtl: |
Type : boolean
|
showProgressBar |
showProgressBar: |
Type : boolean
|
theClass |
theClass: |
Type : string
|
timeOut |
timeOut: |
Type : number
|
import {Icons} from './icons';
export interface Options {
timeOut?: number;
showProgressBar?: boolean;
pauseOnHover?: boolean;
lastOnBottom?: boolean;
clickToClose?: boolean;
maxLength?: number;
maxStack?: number;
preventDuplicates?: number;
preventLastDuplicates?: boolean | string;
theClass?: string;
rtl?: boolean;
animate?: 'fromRight' | 'fromLeft' | 'rotate' | 'scale';
icons?: Icons;
position?: ['top' | 'bottom', 'right' | 'left'];
}