You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this library and so far is working great. Right now I need a way to show the cursor in a specific position programmatically, I have tried creating a MouseEvent and then dispatching it with dispatchEvent() but no luck.
Use case:
I have a bunch of pdfs (converted in pngs) in a carousel and whenever I change the page I want to zoom at a specific x and y coordinate. And for every pdf there is a different x and y coordinate. Is there maybe an easy to pass to the component also an object {x: number, y: number} so the magnify shows at this coordinate ?
If this is not possible, can someone guide me on how to implement it myself?
Thanks
The text was updated successfully, but these errors were encountered:
As a note, I'm still working through some bugs that resulted in the rewrite. If you use this library and encounter any, please report them as issues in my github repo so I can address them.
Hello,
I'm using this library and so far is working great. Right now I need a way to show the cursor in a specific position programmatically, I have tried creating a MouseEvent and then dispatching it with dispatchEvent() but no luck.
Use case:
I have a bunch of pdfs (converted in pngs) in a carousel and whenever I change the page I want to zoom at a specific x and y coordinate. And for every pdf there is a different x and y coordinate. Is there maybe an easy to pass to the component also an object {x: number, y: number} so the magnify shows at this coordinate ?
If this is not possible, can someone guide me on how to implement it myself?
Thanks
The text was updated successfully, but these errors were encountered: