hide

Hide the Drawer

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


    <div data-role="drawer" id="my-drawer">
        Hi!
        <a data-click="hideDrawer" data-role="button">Hide me</a>
    </div>

    <script>
    new kendo.mobile.Application();
    function hideDrawer() {
        $("#my-drawer").data("kendoMobileDrawer").hide();
    }
    </script>
In this article