You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
563 B
23 lines
563 B
APP.TOAST = {
|
|
confirm : function(msg) {
|
|
APP.toast.push({
|
|
theme : 'default',
|
|
icon : '<i class="far fa-bell"></i>',
|
|
msg : msg
|
|
});
|
|
},
|
|
error : function(msg) {
|
|
APP.toast.push({
|
|
theme : 'danger',
|
|
icon : '<i class="far fa-exclamation-circle"></i>',
|
|
msg : msg
|
|
});
|
|
},
|
|
success: function(msg) {
|
|
APP.toast.push({
|
|
theme : 'success',
|
|
icon : '<i class="far fa-check-circle"></i>',
|
|
msg : msg
|
|
})
|
|
}
|
|
};
|