yanick/vue-svg-pan-zoom

Accessing public API methods

kjfdebruin opened this issue · 3 comments

Thanks for a great repo!
Is there a way to access the public API methods like zoomIn()?

Thanks! And not right now, as the object returned by svgpanzoom() is not stored for later access, but that shouldn't be hard. Let's see if I can add that over the week-end. :-) Or you can have a go at it, if you feel brave!

I have a working prototype at https://github.com/yanick/vue-svg-pan-zoom/tree/svgpanzoom-event

Now I need to make it a little more robust and add documentation.

Done!