Skip to content
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

Detect mouse pressed (dragging) #159

Closed
mrbar42 opened this issue Jan 2, 2017 · 2 comments
Closed

Detect mouse pressed (dragging) #159

mrbar42 opened this issue Jan 2, 2017 · 2 comments
Assignees
Milestone

Comments

@mrbar42
Copy link

mrbar42 commented Jan 2, 2017

  • Version: 2.4 (55)
  • macOS: 10.11.6

It seems like there is no way to observe weather the mouse is clicked and hold.
I want to use it to create a dragging event.

Is it possible?
am i missing anything?

@kasper
Copy link
Owner

kasper commented Jan 3, 2017

Yes, I think I should be able to add support for this event. In the meanwhile you could use a combination of the click and move events with the help of something like _.debounce to detect this.

@kasper kasper self-assigned this Jan 7, 2017
@kasper kasper added the feature label Jan 7, 2017
@kasper kasper added this to the 2.5 milestone Jan 7, 2017
@kasper
Copy link
Owner

kasper commented Jan 7, 2017

Implemented in master and will be released in the next release.

@kasper kasper closed this as completed Jan 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants