Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API

You're reading from   Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API Confident of your web application skills but not yet au fait with mobile development? Well this book helps you use the Kendo UI for a painless introduction. Practical tasks and clear instructions make learning a breeze.

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781782160922
Length 256 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (9) Chapters Close

Preface 1. Building a Mobile Application Using HTML5 FREE CHAPTER 2. Building Your First Mobile Application 3. Service Layer with ASP.NET Web API 4. Integration Using Framework Elements 5. Exploring Mobile Widgets 6. ActionSheet, ModalView, and More Widgets 7. Movie Tickets Application – Complete Integration Index

The Drawer widget


The Drawer widget, commonly known as the Facebook-style side menu, was introduced in the 2013 Q2 release of Kendo UI. This menu style has nowadays turned into a standard for any mobile application that has a lot of content and a complex navigation stack.

The Drawer widget can be initialized by setting the data-role="drawer" attribute to a div element. By default, the widget appears from the left side on a left-to-right swipe. The drawer can be made to slide in from right to left, by setting the position data attribute to right:

data-position="right";

The drawer slides back in when we navigate to another view or an opposite swipe gesture is done by the user. The widget also supports adding a custom header and footer; this feature is optional.

Let's now implement a drawer containing a ListView, which slides in from right to left:

<div data-role="drawer" id="right-drawer"
     data-position="right" >
    <ul data-role="listview" data-type="group">
        <li&gt...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime