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.

    <div data-role="view" id="myView">
        Tap here
    </div>


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

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