|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/liminfinity.edukrypt.in/public/admin/js/examples/ |
Upload File : |
'use strict';
$(document).ready(function () {
var doc = $(document);
toastr.options = {
timeOut: 3000,
progressBar: true,
showMethod: "slideDown",
hideMethod: "slideUp",
showDuration: 200,
hideDuration: 200
};
doc.on('click', '.toastr-examples a.btn-success', function () {
toastr.success('Successfully completed');
});
doc.on('click', '.toastr-examples a.btn-danger', function () {
toastr.error('Something went wrong');
});
doc.on('click', '.toastr-examples a.btn-info', function () {
toastr.info('This is an informational message');
});
doc.on('click', '.toastr-examples a.btn-warning', function () {
toastr.warning('You are currently not authorized');
});
});