This is an extension for Hammer.js which implements draggable elements.
var Draggables = require('hammer-draggables')
var dr = new Draggables($('ul'), { handle: 'LI' })
dr.on('start', function (event, dragging) {
console.log('start', dragging)
})
dr.on('move', function (event, dragging) {
console.log('move', dragging)
})
dr.on('end', function (event, dragging) {
console.log('end', dragging)
})
$ npm install hammer-draggables
$ bower install https://github.com/tellnes/hammer-draggables.git
MIT