change

Fires when the checked state of the Switch is changed through user interaction.

Event Data

e.checked Object

The checked state of the Switch.

Example - handling the change event

<input id="switch" />

<script>
    $("#switch").kendoSwitch({
        change: function (e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log(e.checked);
        }
    });
</script>
In this article