- core/1.2.1: *
How to use
Invoke the constructor. The first argument is the element to drag, drop, and dock. A second optional argument is a set of options to override the defaults.
var docker = new Drag.Dock($('DragMe')); docker.dock('right');
Uses Drag.Move from MooTools More.
Demo can be seen here
- proximity: (int) The number of pixels away from an edge when the element should become docked to the edge. Default: 20.
MIT License. Copyright 2008-2010 Sean McArthur.
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