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