You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What @foxbunny says. On movestart, measure the offset, width and height of the parent, then use that to constrain the positioning of the thing you're moving.
This isn't supposed to be a plugin with lots of options, it's an event you can use to make a plugin with options if you so wish.
Your plugin is exactly what i was looking for,
It miss only a thing it's to constrain the drag to the parent div.
And then it would be perfect for me.
The text was updated successfully, but these errors were encountered: