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

mouse event in onDragStart method #150

Open
krasnoludkolo opened this issue Dec 19, 2024 · 2 comments
Open

mouse event in onDragStart method #150

krasnoludkolo opened this issue Dec 19, 2024 · 2 comments

Comments

@krasnoludkolo
Copy link

Can we access event in onDragStart and similar methods? I would like to know if certain key is pressed (like shift) and that would be very useful.

@anseki
Copy link
Owner

anseki commented Dec 19, 2024

Hi @krasnoludkolo, thank you for the comment.
Current version doesn't support accessing an event object in event listeners.
Then, you have to listen events such as mousedown, touchstart, etc., by your code.

@krasnoludkolo
Copy link
Author

Thanks for response, is it possible to add it in next version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants