22 lines
342 B
JavaScript
Vendored
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();
|
|
});
|