This is a migrated thread and some comments may be shown as answers.

Drawer width to a percentage?

1 Answer 274 Views
Drawer (Mobile)
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 06 Feb 2015, 02:20 PM
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.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 10 Feb 2015, 12:11 PM

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!
 
Tags
Drawer (Mobile)
Asked by
Jay
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or