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

Listen for pan/zoom events #51

Open
jonnymaceachern opened this issue Aug 26, 2015 · 1 comment
Open

Listen for pan/zoom events #51

jonnymaceachern opened this issue Aug 26, 2015 · 1 comment

Comments

@jonnymaceachern
Copy link

Is this possible? I'm displaying a tooltip for elements and because it doesn't scale/move with the svg, I'd like to dismiss it when those events are fired. At the moment I'm using a mousewheel jquery plugin on the svg element, but I'd like a fix for panning as well. Thanks

@tikiatua
Copy link
Collaborator

Hi @jonnymaceachern,

unfortunately, this is currently not implemented. I am planning to start a rewrite of the plugin at some point that will use an event pipeline for interaction. This would simplify integration with custom elements and also enable support for touch devices using third party libraries.

However, I cannot provide a timeline yet. Thus, you might need to create a fork of the plugin and add some code to raise those events yourself.

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

3 participants