Is there a way to check the current state of a kendoMobileDrawer to determine if the drawer is open or closed via a field or method on the object? If not - what's the recommended approach for determining this?
3 Answers, 1 is accepted
0
Accepted
Kiril Nikolov
Telerik team
answered on 17 Nov 2014, 01:14 PM
Hello Ryan,
You can use the visible property of the Drawer object reference, that will tell you whether the drawer is visible or not. Here is the code that you can use:
Perfect. That's what I needed - thank you. You may want to consider adding that information to your API documentation: http://docs.telerik.com/kendo-ui/api/javascript/mobile/ui/drawer.