Accessing public API methods
kjfdebruin opened this issue · 3 comments
kjfdebruin commented
Thanks for a great repo!
Is there a way to access the public API methods like zoomIn()
?
yanick commented
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!
yanick commented
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.
yanick commented
Done!