Skip to content

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

SortableWithTies

Objective

A simple plugin to create a list that is sortable with ties.

How to use it

Follow the formats:

<divclass="div-container"><!-- tier1 --><div><ulclass="ul-list"><spanclass="tier"> 1 </span><!-- tier handle --><liclass="list-element">a</li><liclass="list-element">b</li></ul></div><!-- tier2 --><div><ulclass="ul-list"><spanclass="tier"> 2 </span><!-- tier handle --><liclass="list-element">c</li><liclass="list-element">d</li></ul></div></div>

And include the JS files:

<scriptsrc="../assets/js/jquery-2.2.4.min.js"></script><scriptsrc="../assets/js/jquery-ui.min.js"></script><scriptsrc="../assets/js/voting.js"></script>

Future Update

Right now the plugin only supports specific format to sort. A variety of formats will be supported in the future

About

A simple sortable plugin with funcationality to sort with ties

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages