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

Sync images support #34

Open
comm-amir-david opened this issue Nov 1, 2020 · 1 comment
Open

Sync images support #34

comm-amir-david opened this issue Nov 1, 2020 · 1 comment

Comments

@comm-amir-david
Copy link

Hi, there is any way of getting the pan when zoomed ?
and when click the zoom position ?
so i could sync two images for compare ??

Thanks.

@AdamRisberg
Copy link
Owner

AdamRisberg commented Nov 6, 2020

I'll look into maybe adding an onChange that gets called with this info. In the meantime, you could look into my other project react-input-position (it's what this library relies on for position calculations). It makes it pretty quick to build magnifier components like these and would give you access to all of that info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants