Plugins

Sortable

Sortable is a JavaScript library for reorderable drag-and-drop lists.

Requirements

<script src="js/vendor/sortable.min.js"></script>

Example

Javascript
Sortable.create(document.getElementById('sortableBasic'));
Html
<ul class="list-group sortable" id="sortableBasic">
  <li class="list-group-item">Cras justo odio</li>
  <li class="list-group-item">Dapibus ac facilisis in</li>
  <li class="list-group-item">Morbi leo risus</li>
  <li class="list-group-item">Carrot sesame tootsie</li>
</ul>

More Examples

You may find more examples in Interface.Plugins.Sortable.html file which is initialized by js/plugins/sortables.js.

Documentation