vfysba
Last Updated: February 25, 2016
·
873
· pulkit110
6a2a43b59b42a6c5c01781afb312c59e

Custom jQuery UI Draggable bounds

jQuery-UI draggable is very good for creating draggable components. It was perfect for the creating jMatrixBrowse. jMatrixBrowse is a jQuery plugin that allows creating large browsable matrices (like Google Maps) in the browser

Draggable uses the generatePosition method to generate the new position for the draggable. To check custom bounds, I extended the generatePosition method and implemented by custom bounds checks in this.

http://pulkitgoyal.in/2012/08/25/custom-jquery-ui-draggable-bounds/

Say Thanks
Respond