dojo.dnd.move.parentConstrainedMover
dojo.require("dojo.dnd.move");
defined in dojo/dnd/move.js
a specialization of dojo.dnd.constrainedMover, which constrains to the parent node
parameter | type | description |
---|---|---|
area | String | "margin" to constrain within the parent's margin box, "border" for the border box, "padding" for the padding box, and "content" for the content box; "content" is the default value. |
within | Boolean | if true, constraints the whole dragged object withtin the rectangle, otherwise the constraint is applied to the left-top corner |