toggle

Toggles the checked state of the Switch.

Example

<input id="switch" />
<button id="toggle">Toggle</button>

<script>
    $("#switch").kendoSwitch()

    $("#toggle").on("click", function () {
        var switchInstance = $("#switch").data("kendoSwitch");
        // toggle the checked state of the switch.
        switchInstance.toggle();
    });
</script>
In this article