1

有人知道 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>
4

1 回答 1

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>
于 2014-04-25T18:08:36.283 回答