hammer-dragables
v0.0.1
Published
Dragables extension for Hammer.js
Downloads
3
Readme
hammer-dragables
This is an extension for Hammer.js which implements dragable elements.
Usage
var Dragables = require('hammer-dragables')
var dr = new Dragables($('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)
})
Install
$ npm install hammer-dragables
License
MIT