Drag extension that adds momentum to the dragged object: after the object is released it decelerates instead of stopping immediately. This mimics the flick gesture of certain popular touch interfaces.
Thanks to Drag's versatile design, this can also be used to make elements scroll like butter.
Simply instantiate Drag.Flick where you would normally use Drag:
var myDrag = new Drag.Flick('anElement');
This extension inherits all the options and events from Drag and adds the following:
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.blog comments powered by Disqus