Edit this page

beforeShow

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

Example

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

Give article feedback

Tell us how we can improve this article

close
Dummy