<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          NestedSortable

          聯(lián)合創(chuàng)作 · 2023-10-02 16:00

          NestedSortable is an extension to the original Sortable from the Interface plugin that allows you to both sort vertically and nest (make one item a child of other item) elements at the same time, using drag-and-drop. If can be set up exactly like a regular Sortable and allows you to use most options that are inherited from it.

          Some examples of possible usages:

          • Organizing a table of contents
          • Organizing a list of hierarchical pages (it was originally created with this goal, for WordPress)
          • Organizing categories

          You can set it up as simply as that

          $('#list-container').NestedSortable(
            {
              accept: 'sortable-element-class',
            }
          );

          Given that you have a container with Nested HTML elements like this one:

          <ul id="list-container">
            <li class="sortable-element-class" id="ele-1">
              Element 1
            </li>
            <li class="sortable-element-class" id="ele-2">
              Element 2
            </li>
            <li class="sortable-element-class" id="ele-3">
              Element 3
              <ul>
                <li class="sortable-element-class" id="ele-4">
                  Element 4
                  <ul>
                    <li class="sortable-element-class" id="ele-5">
                      Element 5
                    </li>
                  </ul>
                </li>
              </ul>
            </li>
          </ul>

          Please check the plugin documentation page for complete information about it. Don't forget to look at the demos as well.

          Please, use the issue tracker at Google to report bugs.

          瀏覽 20
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  91久久精品日日躁欧美 | 久久久久99精品成人 | 国产福利视频在线 | 歐美操逼视频 | 亚洲综合成人在线 |