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" />

    var app = new kendo.mobile.Application();
In this article
Not finding the help you need? Improve this article