[dojo-contributors] DnD constarined move: testers wanted!

Eugene Lazutkin eugene at lazutkin.com
Thu Jun 7 03:20:08 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> 3) dojo.dnd.constrainedMover
> 
> It takes a function, which returns a constraint box, and a boolean,
> which indicates, if we want to constrained the whole object to the box
> (when it is true), or just the top-left corner (when it is false). By
> default the second parameter is false. The function is called every time
> before initializing the corresponding dojo.dnd.Mover.

... and returns a constraint box, so every time you starts the move,
your object can be constrained to different boxes.

> dojo.dnd.constrainedMover returns a function, which is used to create a
> mover.

Thanks,

Eugene
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZ7GoY214tZwSfCsRAksVAJ40j5ZZpkGtRxF49bLqiw7A9RmiKwCbB57m
o+U/nVM8hjhblw7rTqMo+9U=
=hQj2
-----END PGP SIGNATURE-----



More information about the dojo-contributors mailing list