toggle
Toggle the checked state of the widget.
Example
<div id="foo" data-role="view">
<input id="switch" type="checkbox" data-role="switch" />
<a data-role="button" data-click="onClick">Toggle</a>
</div>
<script>
var app = new kendo.mobile.Application();
function onClick() {
var switchInstance = $("#switch").data("kendoMobileSwitch");
// toggle the checked state of the switch.
switchInstance.toggle();
}
</script>