全栈工程师开发手册 (作者:栾鹏)
jQuery Mobile 所有data-*选项
jQuery Mobile中复选框checkbox的data-*选项
带有 type=“checkbox” 的成双成对的 label 和 input。它们会被自动渲染程按钮样式,data-role 不是必需的。
//data-mini true | false 规定复选框是小尺寸还是常规尺寸
//data-role none 防止 jQuery Mobile 把复选框渲染成按钮样式
//data-theme 字母 (a-z) 规定复选框的主题颜色
如需组合多个复选框,请使用带有 data-role=“controlgroup” 属性和 data-type=“horizontal|vertical” 的容器来规定是否水平或垂直组合复选框。