beforeShow

Fires before the mobile Drawer is revealed. The event can be prevented by calling the preventDefault method of the event parameter.

    <div data-role="view" id="drawer-settings">
        <h1>Settings</h1>
    </div>


    <div data-role="drawer" data-before-show="prevent">
        I will not be displayed
    </div>

    <script>
    new kendo.mobile.Application();

    function prevent(e) {
        e.preventDefault();
    }
    </script>
In this article