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

how to add zoom option #8

Open
PriyankaSawant26 opened this issue Jul 31, 2019 · 2 comments
Open

how to add zoom option #8

PriyankaSawant26 opened this issue Jul 31, 2019 · 2 comments

Comments

@PriyankaSawant26
Copy link

No description provided.

@ChristophAnastasiades
Copy link
Owner

What do you mean? Being able to enlarge the image on click?

@PriyankaSawant26
Copy link
Author

PriyankaSawant26 commented Jul 31, 2019

When we hover on the image it should give a magnify zoom of the image or you can help me with how to add the "id" to the img attribute or how to add class jst above img tag.
for eg:
In Lingallery.vue
I want to add class :
<div class="zoom"><img ref="mainImage" :id="" :src="currentImage" @click="handleLargeImageClick" :class="{ loading: isLoading }" v-swipe="handleImageSwipe" :style="mainImageStyle"></div>

thanks

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