JqueryMobile - Listviews right arrow
Is possible to make a standard jquerymobile listvie开发者_如何学Pythonw without the right arrow image that apears on the rigt of the li object?
Standard list view
Thanks
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.
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.
If icon still persist just remove a tag or wrap it with a div. e.g
<div>
<a> //your stuff here </a>
</div>
add data-icon-"false"
on the li
tag
精彩评论