views Array

A list of the view ids on which the drawer will appear. If omitted, the drawer will work on any view in the application.

Example

<div data-role="view" id="drawer-settings">
    <h1>Settings</h1>
    <a href="#bar" data-role="button">Go to bar</a>
</div>

<div data-role="view" id="bar">
    Drawer will not work here
    <a href="#drawer-settings" data-role="button">Back to settings</a>
</div>

<div data-role="drawer" id="my-drawer" data-views='["drawer-settings"]'>
    Hi!
</div>

<script>
new kendo.mobile.Application();
</script>
In this article
Not finding the help you need? Improve this article