File

projects/commons/src/lib/elements/toast/interfaces/toast-config.interface.ts

Index

Properties

Properties

animation
animation: object
Type : object
Optional
closeOnClick
closeOnClick: boolean
Type : boolean
Optional
dismissible
dismissible: boolean
Type : boolean
Optional
duration
duration: number
Type : number
Optional
message
message: string
Type : string
pauseOnHover
pauseOnHover: boolean
Type : boolean
Optional
position
position: toastPositionType
Type : toastPositionType
Optional
type
type: Colors
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;
}

result-matching ""

    No results matching ""