|
Server IP : 111.118.215.156 / Your IP : 216.73.216.167 Web Server : Apache System : Linux md-in-26.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : azasoqqa ( 1858) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/azasoqqa/public_html/vsrcbse.com/admin/javascript/components/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
/*! ========================================================================
* button.js
* Page/renders: components-button.html
* Plugins used:
* ======================================================================== */
$(function () {
// Ladda button
// ================================
Ladda.bind(".btn.ladda-button", { timeout: 5000 } );
// Bind progress buttons and simulate loading progress
Ladda.bind(".btn.ladda-button.ladda-progress", {
callback: function( instance ) {
var progress = 0;
var interval = setInterval( function() {
progress = Math.min( progress + Math.random() * 0.1, 1 );
instance.setProgress( progress );
if( progress === 1 ) {
instance.stop();
clearInterval( interval );
}
}, 200 );
}
});
});