First off - great work! I have tried other solutions but this library works quite well in our Angular application.
I am missing a feature that I haven't discovered so far: the ability to programmatically zoom to a DOM element.
My code looks somewhat like this:
<pinch-zoom>
<svg id="super-large">
Lot's of other elements in here
<circle id="scroll-to-me-please"></circle>
</svg>
</pinch-zoom>
I want to programmatically zoom close to the scroll-to-me-please element.
Any idea how can this already be achieved with the library or could this maybe become a feature of this library?
Thanks in advance!
EDIT: On second look, maybe this feature of the pro version could fulfill my use case. Would something like this work?
First off - great work! I have tried other solutions but this library works quite well in our Angular application. I am missing a feature that I haven't discovered so far: the ability to programmatically zoom to a DOM element.
My code looks somewhat like this:
I want to programmatically zoom close to the
scroll-to-me-please
element.Any idea how can this already be achieved with the library or could this maybe become a feature of this library?
Thanks in advance!
EDIT: On second look, maybe this feature of the pro version could fulfill my use case. Would something like this work?