jQuery Mobile 教程:Button Checkbox属性

 时间:2026-04-24 13:08:01

1、Button

带有 data-role="button" 的超链接。工具栏中的按钮元素和链接以及输入字段会被自动设置按钮的样式,无需 data-role="button"。

提示:如需组合多个按钮,请使用带有 data-role="controlgroup" 以及 data-type="horizontal|vertical" 属性的容器,来规定水平还是垂直组合按钮。

jQuery Mobile 教程:Button Checkbox属性

2、Checkbox

label 和 type="checkbox" 的 input 是成对的。会被自动设置为按钮的样式,无需 data-role。

提示:如需组合多个复选框,请使用 data-role="controlgroup" 以及 data-type="horizontal|vertical",来规定水平还是垂直组合复选框。

jQuery Mobile 教程:Button Checkbox属性

  • jQuery Mobile 教程:按钮
  • jquery checkbox 如何设置选中
  • checkbox自定义样式
  • jQuery Mobile 教程Collapsible Set Dialog属性
  • jQuery Mobile 教程:主题
  • 热门搜索
    河南开封旅游 3d虚拟旅游 张家界旅游团购 香港迪斯尼旅游 12月去哪里旅游最好 重庆旅游点 亚庇旅游攻略 宁波旅游网 鄢陵旅游 宜昌旅游景点介绍