JqueryMobile - Listviews right arrow

后端 未结 4 2097
太阳男子
太阳男子 2020-12-15 17:12

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

相关标签:
4条回答
  • 2020-12-15 17:51

    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.

    0 讨论(0)
  • 2020-12-15 17:51

    If icon still persist just remove a tag or wrap it with a div. e.g

    <div>
      <a> //your stuff here </a>
    </div>
    
    0 讨论(0)
  • 2020-12-15 17:54

    add data-icon-"false" on the li tag

    0 讨论(0)
  • 2020-12-15 18:10

    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.

    0 讨论(0)
提交回复
热议问题