enable Boolean(default: true)

If set to false the widget will be disabled and will not allow the user to change its checked state. The widget is enabled by default.

Example - initialize disabled switch.

<div data-role="view">
    <input type="checkbox" data-role="switch" data-enable="false" />
</div>

<script>
    var app = new kendo.mobile.Application();
</script>
In this article