projects/commons/src/lib/elements/toast/interfaces/toast-config.interface.ts
Properties |
|
| animation |
animation:
|
Type : object
|
| Optional |
| closeOnClick |
closeOnClick:
|
Type : boolean
|
| Optional |
| dismissible |
dismissible:
|
Type : boolean
|
| Optional |
| duration |
duration:
|
Type : number
|
| Optional |
| message |
message:
|
Type : string
|
| pauseOnHover |
pauseOnHover:
|
Type : boolean
|
| Optional |
| position |
position:
|
Type : toastPositionType
|
| Optional |
| type |
type:
|
Type : Colors
|
import { toastPositionType } from '../types';
import { Colors } from '../../../shared/enums';
export interface IToastConfig {
message: string;
type: Colors;
dismissible?: boolean;
animation?: object;
closeOnClick?: boolean;
pauseOnHover?: boolean;
position?: toastPositionType;
duration?: number;
}