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>
In this article
Not finding the help you need? Improve this article