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.

    <div data-role="view" id="drawer-settings">
        <h1>Settings</h1>
        Go to bar
    </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