Skip to Main Content
PhoneGap Build
book

PhoneGap Build

by Bintu Harwani
November 2013
Intermediate to advanced content levelIntermediate to advanced
303 pages
8h 45m
English
Auerbach Publications
Content preview from PhoneGap Build
130 ◾  PhoneGap Build
Creating Inset Lists
By default, a list is displayed edge to edge, taking up the full width of the device. For a rounded
corner list, an inset list is used. An inset list is wrapped inside a block with rounded corners. It does
not take up the full width of the device. To create an inset list, the data-inset = "true"
attribute is added to the <ul> element as shown below:
<ul id = "phoneList" data-role = "listview" data-inset = "true">
To convert a usual list into an inset list, let us add the data-inset = "true" attribute to
the <ul> element shown in Listing 6.5. Upon running the application, the list will appear as an
ins ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning App Development with Parse and Phonegap

Beginning App Development with Parse and Phonegap

Wilkins Fernandez, Stephan Alber
Ajax For Dummies®

Ajax For Dummies®

PhD Steve Holzner

Publisher Resources

ISBN: 9781466589742