I don't use any options. Just Plug and Play fun!
I can only be dragged horizontally (x-axis).
I can only be dragged vertically (y-axis).
I don't want to be dragged until my update options is set to a non-false value. Click on me to toggle draggability.
I track my deltas. Useful if you need to know my position!
I can only be dragged by my handle. I use querySelector under the hood.
I can only be moved withing the confines of the body element.
I snap to a 25 x 25 grid
I snap to a 50 x 50 grid
I can detect drops from the other Drag and Drop box.
I can be dropped onto the other Drag and Drop box.
I already have an absolute position.
I have a default position of { x: 25, y: 25 }, so I'm slightly offset.
I have a default position based on percents { x: '-10%', y: '-10%' }, so I'm slightly offset.
I can only be moved within my offsetParent. Both parent padding and child margin work properly.
I'm stuck in here too...