-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NFR] Allow custom callbacks on dragStart/dragStop #160
Comments
Also, would it be possible for those events to fire "change" method? |
What is the use case? Cancelling the drag event - or do you just want to listen to when it happens? |
Here's the usecase.
The only problem is that if you release mouse button while outside the color selection are, the 'onMouseUp' does not trigger. In other words, I need to get the execution control when mouse button is released outside color selection area to be able to fire AJAX call with currently selected color. Hope that explains it. Thanks! |
So, if we added a |
Thanks for the great widget! |
OK, this should be working now if you grab latest from https://github.com/bgrins/spectrum/blob/master/spectrum.js |
Using code like this:
|
Works as expected, thank you. |
@temuri416 @bgrins please take a look: #352 |
I would like to be able to supply custom callback for dragStart/dragStop events.
Thank you!
The text was updated successfully, but these errors were encountered: