// Make myElement drag-and-drop enabled
+DragDrop.bind(myElement);
+
+// A more complex version
+var draggable = DragDrop.bind(myElement, {
+ // The anchor; myElement moves when anotherElement is dragged
+ anchor: anotherElement,
+ // The draggable element will now stay bound within it's offsetParent
+ boundingBox: 'offsetParent',
+ // Define a dragstart event
+ dragstart: function(evt) {
+ // ...
+ }
+});
+
+// Change the bounding box to some manual positions
+draggable.setBoundingBox({
+ x: { min: 0, max: 600 },
+ y: { min: 0, max: 400 }
+});
+
+// Define a new dragend event
+draggable.bindEvent('dragend', function(evt) {
+ // ...
+});
+
+// This is how you would remove a drag event (if one were defined above)
+draggable.unbindEvent('drag', theBoundDragEventFunction);
+
+
+
+
+
+
diff --git a/static/js/kbjr-DragDrop-906d7ff/test.html b/static/js/kbjr-DragDrop-906d7ff/test.html
new file mode 100644
index 0000000..304adaa
--- /dev/null
+++ b/static/js/kbjr-DragDrop-906d7ff/test.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+ + This is some text to test that there are no text selection issues. +
++ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis libero enim, lacinia sed hendrerit + sit amet, congue ut ipsum. Nullam mollis, risus eu porta scelerisque. +
+