/*
|--------------------------------------------------------------------------
| Notification Toast link
|--------------------------------------------------------------------------
|
| Import Notification Function.
|
*/

import "./message.js";

/*
|--------------------------------------------------------------------------
| Notification Toast config
|--------------------------------------------------------------------------
|
| Set your configuration for the Notification Toasts..
|
|        type: 'default',           // default, success, info, warning, error, update
|        mode: 'default-mode',      // default-mode, light-mode, dark-mode
|        position: 'top-right',     // top-left, top-center, top-right, bottom-left, bottom-center, bottom-right
|        duration: 3000,            // duration in milliseconds  3000 = 3s
|        selector: 'body',          // Select Tag, Class or id to display the Notification div
|        icon: null,                // Set true for default-icons or insert an SVG or image with <img src="..." ... >
|        progressbar: false,        // display Close Progressbar = true / false
|        close: false,              // display Close button = true / false
|        title: 'Hi Guys',          // set custom displayed Text
|        text: 'Hi Guys',           // set custom displayed Text
|        onComplete: null,          // Callback funktion
|        onCompleteParams: {},      // Callback function Parameter
|        offset: {                  // Set your own offset for the Notification div.
|            top: '',
|            left: '',
|            right: '',
|            bottom: '',
|        },
|        style: {                   // Set your own style for the Notification div.
|            color: '',
|            background: '',
|        },
|        animation: 'slide-right',  // slide-right, slide-left, slide-up, slide-down
|        classname: ''              // Set custom classes
|
|
*/

message.config({
    mode: "light-mode",
    icon: true,
    position: "bottom-center",
    close: true,
    animation: "slide-up",
    duration: 5000,
});

// message.toast({
//     type: "info",
//     title: "Hi Guys",
//     text: "Hi Guys",
// })
//
// message.toast({
//     type: 'success',
//     title: "Hi Guys",
//     text: 'Das ist noch ein Test',
//     duration: 5000,
// })
//
// message.toast({
//     type: 'info',
//     title: "Hi Guys",
//     text: 'Das ist noch ein Test'
//
// })
//
// message.toast({
//     type: 'warning',
//     title: "Hi Guys",
//     text: 'Das ist noch ein Test',
// })
//
// message.toast({
//     type: 'error',
//     title: "Hi Guys",
//     text: 'Das ist noch ein Test',
// })
