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 教程:主题
  • 热门搜索
    炒花菜的家常做法 全身瘙痒是怎么回事 端午节的诗句古诗大全 蚕蛹怎么做好吃 小干鱼怎么做好吃 扇贝粉丝蒜蓉家常做法 鸡肉的做法大全家常菜 三黄鸡怎么做好吃 嗓子干咳怎么办 长高增高的方法