Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

hammer-draggables

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hammer-draggables

Draggables extension for Hammer.js

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

hammer-draggables

This is an extension for Hammer.js which implements draggable elements.

Usage

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)
})

Install

$ npm install hammer-draggables

$ bower install https://github.com/tellnes/hammer-draggables.git

License

MIT

Keywords

hammer

FAQs

Package last updated on 10 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts