Drawer width to a percentage?

2 posts, 0 answers
  1. Jay
    Jay avatar
    6 posts
    Member since:
    Apr 2012

    Posted 06 Feb 2015 Link to this post

    Is it possible to have the drawer open to a percentage of the page? Trying to make a responsive page for mobile/tablet and I want on mobile to open to 90%, but on tablet to only open to 50%.

    I have implemented this with the javascript:
    <div class="drawer" id="myDrawer">
    </div>

     $("#myDrawer").kendoMobileDrawer({
                container: "#content-container",
                swipeToOpen: false
                }
            });


    Thanks.
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 10 Feb 2015 Link to this post

    Hello Jay,

     

    I am afraid that there is not such option or way to configure the drawer to open to certain percentage of the screen. You can submit this as a feature request on UserVoice, so it will be considered for a future implementation.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top