Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taylorhakes/html5-sortable
HTML5 Sortable without jQuery
https://github.com/taylorhakes/html5-sortable
Last synced: about 1 month ago
JSON representation
HTML5 Sortable without jQuery
- Host: GitHub
- URL: https://github.com/taylorhakes/html5-sortable
- Owner: taylorhakes
- License: mit
- Created: 2014-12-07T14:41:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-04T04:03:23.000Z (over 9 years ago)
- Last Synced: 2024-10-01T15:02:52.239Z (about 1 month ago)
- Language: JavaScript
- Size: 242 KB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
HTML5 Sortable [![Build Status](https://travis-ci.org/taylorhakes/html5-sortable.svg?branch=master)](https://travis-ci.org/taylorhakes/html5-sortable)
========HTML5 Sortable. No jQuery needed. Only .5KBs gzipped!
###
Based on [HTML5Rocks Demo](http://www.html5rocks.com/en/tutorials/dnd/basics/)## Simple API
```
var s = Sortable({
els: '.sortable' // Selector or array of elements// Optional params
// Behavior of drag and drop ('insert' or 'swap')
type: 'insert'
});// destroy
s.destroy();
```## Demo
[Demo Link](http://taylorhakes.github.io/html5-sortable)