棘轮复选框列表

时间:2014-04-23 11:35:36

标签: html css ratchet-bootstrap ratchet-2

有人知道Ratchet http://goratchet.com/是否有可能创建一个复选框列表来选择项目? 文档仅显示了制作简单列表的技术:

<ul class="table-view">
<li class="table-view-cell">Item 1 <span class="badge">4</span></li>
<li class="table-view-cell">Item 2 <span class="badge">1</span></li>
<li class="table-view-cell">Item 3 <span class="badge">5</span></li>
</ul>

1 个答案:

答案 0 :(得分:1)

这应该是非常直接的......

jsFiddle

<div class="content">
    <ul class="table-view">
      <li class="table-view-cell">
          <input type="checkbox" /> Check Box
      </li>
      <li class="table-view-cell">
          <input type="checkbox" /> Check Box
      </li>
      <li class="table-view-cell">
          <input type="checkbox" /> Check Box
      </li>
      <li class="table-view-cell">
          <input type="checkbox" /> Check Box
      </li>
    </ul>
</div>