dojo.dnd.move.constrainedMover
dojo.require("dojo.dnd.move");
defined in dojo/dnd/move.js
this function produces n object, which will put a constraint on the margin box of dragged object in absolute coordinates
parameter | type | description |
---|---|---|
fun | Function | called on drag, and returns a constraint box |
within | Boolean | if true, constraints the whole dragged object withtin the rectangle, otherwise the constraint is applied to the left-top corner |