### File

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

### Index

###### Properties
Optional animation Optional closeOnClick Optional dismissible Optional duration message Optional pauseOnHover Optional position type

### 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 ""