Files
BoilerPlate/Content/Panel/js/pages/crud/forms/widgets/bootstrap-switch.js
2025-07-23 18:54:59 +03:30

22 lines
342 B
JavaScript

// 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();
});