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

22 lines
342 B
JavaScript
Raw Permalink Normal View History

2024-10-07 06:13:42 +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();
});