dojo.dnd.move.boxConstrainedMover
dojo.require("dojo.dnd.move");
defined in dojo/dnd/move.js
a specialization of dojo.dnd.constrainedMover, which constrains to the specified box
parameter | type | description |
---|---|---|
box | Object | a constraint box (l, t, w, h) |
within | Boolean | if true, constraints the whole dragged object withtin the rectangle, otherwise the constraint is applied to the left-top corner |