Edit this page

hide

Hide the Drawer

Example

<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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy