jQuery Mobile中的按钮图标及样式
jQuery Mobile在进行按钮设计的时候,缺省定义了一套data-icon参数,基于这套参数可以指定常用的按钮图标。
data-icon可以指定不同的参数,参数不同,所呈现的按钮图标样式也会不同。
左箭头data-icon=“arrow-l”右箭头data-icon=“arrow-r”向上箭头data-icon=“arrow-u”向下箭头data-icon=”arrow-d“删除data-icon=”delete“加号data-icon="plus"减号data-icon=”minus“检查data-icon=”check“齿轮data-icon=”gear“刷新data-icon=”refresh“向前data-icon=”forward“向后data-icon="back"网格data-icon="grid"星形data-icon="star"警告data-icon="alert"信息data-icon="info"主页data-icon="home"查询data-icon="search"此外,设置data-iconpos属性也可以设置图标的位置值图标的位置left左侧(缺省)right右侧top上方正中bottom下方正中notext只有图标而没有文字