Cancel draggable dragging
Posted
by JohnM2
on Stack Overflow
See other posts from Stack Overflow
or by JohnM2
Published on 2010-04-14T13:02:27Z
Indexed on
2010/04/14
13:03 UTC
Read the original article
Hit count: 341
jquery-ui
I have a draggable (jquery-ui) element. I subscribe to it's 'drag' event. How can I cancel current draggig based on some constraints? So I want to constraint possible moves of this draggable element, but it is more custom then only based on axis or parent (containment).
How can I do that?
© Stack Overflow or respective owner