chess/public/assets/js/pages/crud/forms/widgets/bootstrap-switch.js
Ramadhon Ikhsan Prasetya 603e31b0f4 init
2024-08-29 10:56:32 +07:00

22 lines
342 B
JavaScript
Vendored

// Class definition
var KTBootstrapSwitch = function() {
// Private functions
var demos = function() {
// minimum setup
$('[data-switch=true]').bootstrapSwitch();
};
return {
// public functions
init: function() {
demos();
},
};
}();
jQuery(document).ready(function() {
KTBootstrapSwitch.init();
});