chess/public/assets/js/pages/features/custom/spinners.min.js

1 line
951 B
JavaScript
Raw Permalink Normal View History

2024-08-29 03:56:32 +00:00
"use strict";var KTSpinnersDemo={init:function(){var t;t=KTUtil.getById("kt_btn_1"),KTUtil.addEvent(t,"click",function(){KTUtil.btnWait(t,"spinner spinner-right spinner-white pr-15","Please wait"),setTimeout(function(){KTUtil.btnRelease(t)},1e3)}),function(){var t=KTUtil.getById("kt_btn_2");KTUtil.addEvent(t,"click",function(){KTUtil.btnWait(t,"spinner spinner-dark spinner-right pr-15","Loading"),setTimeout(function(){KTUtil.btnRelease(t)},1e3)})}(),function(){var t=KTUtil.getById("kt_btn_3");KTUtil.addEvent(t,"click",function(){KTUtil.btnWait(t,"spinner spinner-left spinner-darker-success pl-15","Disabled..."),setTimeout(function(){KTUtil.btnRelease(t)},1e3)})}(),function(){var t=KTUtil.getById("kt_btn_4");KTUtil.addEvent(t,"click",function(){KTUtil.btnWait(t,"spinner spinner-left spinner-darker-danger pl-15","Please wait"),setTimeout(function(){KTUtil.btnRelease(t)},1e3)})}()}};jQuery(document).ready(function(){KTSpinnersDemo.init()});