Skip to content
 
 

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sortable

UI Sortable component, see the demo.

Installation

$ component install yields/sortable

API

Sortable(el)

Initialize Sortable with el.

.bind()

Bind internal events.

.unbind()

Unbind internal events.

.connect(sortable)

Connect with Sortable instance, the method returns the given Sortable.

one = new Sortable(query('.one'));
two = new Sortable(query('.two'));

// one <> two
one
.connect(two)
.connect(one);

// one > two
one.connect(two);

License

MIT

About

UI Sortable.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages