chess/public/assets/js/pages/crud/forms/widgets/bootstrap-switch.js

22 lines
342 B
JavaScript
Raw Normal View History

2024-08-29 03:56:32 +00:00
// 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();
});