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

Can you zoom within an element? #48

Closed
patrickbjohnson opened this issue Feb 15, 2018 · 3 comments
Closed

Can you zoom within an element? #48

patrickbjohnson opened this issue Feb 15, 2018 · 3 comments
Labels

Comments

@patrickbjohnson
Copy link

Considering using this but the demo only displays a zoom interaction in which the image is clicked and then zoomed over the entire document width.

Curious if there is any possibility of being able to zoom within an element like a div with a defined height/width?

@kingdido999
Copy link
Owner

Hmm...interesting. Unfortunately, it does not support such functionality. In what scenario do you think this kind of use case is useful?

@kingdido999 kingdido999 changed the title Question: Can you zoom within an element? Can you zoom within an element? Feb 17, 2018
@mahish
Copy link
Contributor

mahish commented Feb 17, 2018

Do you mean something like this? https://codepen.io/mahish/pen/NAQpyB Usually, it is used in eshops for example. I dont know the codebase but I find such functionality for different package since it has different purpose (two different design patterns: lightbox vs. zoom). It would be nice they could be plugable tho.

@kingdido999
Copy link
Owner

I will close it since the thread is no longer active.

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

No branches or pull requests

3 participants