spali/ng2-movable

Support for constrain on drop

davistan opened this issue · 1 comments

Hi Thomas, wonderful library you've created.

Just wondering whether this allows to drop to specific container elements?
Suggest to have features like snap to position, cancel to return to original position, which similar to jqueryUI will be great.

Thanks.

spali commented

Hi Davis

This feature is not supported and also not planned to. I try to keep this library as simple as possible. There are a lot of libraries around that support all these fancy drag and drop stuff. This library is more meant to be used i.e. for simple dialogs.
But feel free to build this feature on top of it. If you need something exposed to build a kind of addon, let me know.

regards
Thomas