enable

Changes the enabled state of the Switch.

Parameters

enable Boolean

Enables or disables the Switch.

Example

<input id="switch" />

<script>
    var switchInstance = $("#switch").kendoSwitch().data("kendoSwitch");
    switchInstance.enable(false);
</script>
In this article