var Wick = Wick || {};

Wick.Wismo = (function () {
    Wick.SnackBar.init();
    var $buyBtn = $('.wismo-order__action').find('.btn');

    $buyBtn.on('click', function () {
        Wick.SnackBar.show(
            {
                text: 'Notification success message for Delivery with Autoclose',
                type: Wick.SnackBar.types.SUCCESS,
                withCloseButton: false,
                autoClose: true,
                delayBeforeClose: 3000
            }
        );
        Wick.SnackBar.show(
            {
                text: 'Notification warning message for Delivery with Close Btn',
                type: Wick.SnackBar.types.WARNING,
                withCloseButton: false,
                autoClose: true,
                delayBeforeClose: 1500
            }
        );
        Wick.SnackBar.show(
            {
                text: 'Notification error message for Delivery with Close Btn',
                type: Wick.SnackBar.types.ERROR,
                withCloseButton: false,
                autoClose: true,
                delayBeforeClose: 1500
            }
        );
    })
})();


