<div id="mySwitch" class="switch switch-large" data-on="danger" data-off="warning">
<input type="checkbox" checked="checked">
</div>
$('#mySwitch').on('switch-change', function (e, data) {
var $el = $(data.el)
, value = data.value;
console.log(e, $el, value);
});
<div class="switch">
<input type="checkbox">
</div>
<div class="switch switch-small">
<input type="checkbox" checked="checked" disabled="disabled">
</div>
<div class="switch switch-mini">
<input type="checkbox" checked="checked">
</div>