enable

Enables or disables the user interaction with the view and its contents.

Parameters

enable Boolean

Omitting the parameter or passing true enables the view. Passing false disables the view.

Example - disable a view

<div data-role="view" id="myView">
    <a data-role="button" data-click="disableView">Tap here</a>
</div>

<script>
function disableView() {
    $("#myView").data("kendoMobileView").enable(false);
}

new kendo.mobile.Application();
</script>
In this article
Not finding the help you need?