Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JqueryMobile - Listviews right arrow

Tags:

jquery

Is possible to make a standard jquerymobile listview without the right arrow image that apears on the rigt of the li object?

Standard list view

Thanks

like image 366
user285677 Avatar asked Jan 02 '11 22:01

user285677


2 Answers

In versions of jQuery Mobile >= 1.0, use the data-icon attribute:

<li data-icon="false"><a href="#yourref">Your Text</a></li> 

data-icon="false" attribute removes the arrow.

like image 140
Tim Niblett Avatar answered Sep 17 '22 15:09

Tim Niblett


Another way of doing this will be by adding data-icon="false" to the ul instead of li as indicated by Jacob above.

<ul data-role="listview" data-icon="false"> 

This way, all child objects within the listview will by default carry no icons.

like image 29
Pexsol Avatar answered Sep 19 '22 15:09

Pexsol