An open API service indexing awesome lists of open source software.

https://github.com/mikeludemann/sortablejs

Sortable elements in ASC and DESC format. Toggle function with ASC and DESC.
https://github.com/mikeludemann/sortablejs

javascript jquery module-pattern sortable

Last synced: 8 months ago
JSON representation

Sortable elements in ASC and DESC format. Toggle function with ASC and DESC.

Awesome Lists containing this project

README

          

# sortableJS

Sortable elements in ASC and DESC format.
Toggle function with ASC and DESC.

# Example

```code
sortable.sortASC(mainElement, subElement, sortingElement, clickElement);

With testing parameter
sortable.sortASC("#container", ".container__sub", "div", "#click");

sortable.sortDESC(mainElement, subElement, sortingElement, clickElement);

With testing parameter
sortable.sortDESC("#container", ".container__sub", "div", "#click");

sortable.sortToggle(mainElement, subElement, sortingElement, clickElement);

With testing parameter
sortable.sortToggle("#container", ".container__sub", "div", "#click");

```