jQuery 图标

如需在 jQuery Mobile 中向按钮添加图标,请使用 data-icon 属性:

<a href="#anylink" data-role="button" data-icon="refresh">Refresh Page</a>

提示:您也可以在 <button> 或 <input> 元素中使用 data-icon 属性。

下面我们已列出 jQuery Mobile 提供的所有可用图标:

 

posted on 2016-12-01 13:59  殇的博客  阅读(201)  评论(0编辑  收藏  举报