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.
 
 
 
 
 
 

25 lines
503 B

var UIButtons = function () {
var handleButtons = function () {
$('.demo-loading-btn').click(function () {
var btn = $(this)
btn.button('loading')
setTimeout(function () {
btn.button('reset')
}, 3000)
});
}
return {
//main function to initiate the module
init: function () {
handleButtons();
}
};
}();
jQuery(document).ready(function() {
UIButtons.init();
});