initial commit

This commit is contained in:
2019-01-11 22:16:01 +03:00
commit 24c5f2fcf6
312 changed files with 186972 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
/*
Name: UI Elements / Loading Progress - Examples
Written by: Okler Themes - (http://www.okler.net)
Theme Version: 2.1.1
*/
(function($) {
'use strict';
// PLUGIN DOCUMENTATION: https://github.com/rstacruz/nprogress
$(function() {
$('#NPStart').on( 'click', function() {
NProgress.start();
});
$('#NPStop').on( 'click', function() {
NProgress.done();
});
$('#NPInc').on( 'click', function() {
NProgress.inc();
});
$('#NPStartStop').on( 'click', function() {
NProgress.done(true);
});
$('[data-np-set]').on( 'click', function() {
var $this = $(this);
NProgress.set( $this.data('np-set') / 100 );
});
$('#NPCallbacks').on( 'click', function() {
NProgress.set( 0.5, {
onInit: function() {
alert('initializing');
},
onFinish: function() {
alert('finished');
}
})
});
});
}).apply(this, [jQuery]);