The administration panel and web client for ParEdu
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
597 B

$(function () {
initLoading();
});
//Init Loading
function initLoading() {
$('[data-toggle="cardloading"]').on('click', function () {
var effect = $(this).data('loadingEffect');
var color = $.AdminBSB.options.colors[$(this).data('loadingColor')];
var $loading = $(this).parents('.card').waitMe({
effect: effect,
text: 'Loading...',
bg: 'rgba(255,255,255,0.90)',
color: color
});
setTimeout(function () {
//Loading hide
$loading.waitMe('hide');
}, 3200);
});
}