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.
 
 
 
 
 

21 lines
520 B

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