-
Notifications
You must be signed in to change notification settings - Fork 16
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
init / destroy methods #67
Comments
Thank you! Can you tell me more about your use case? If you check out the first example on https://vue-ssr-carousel.netlify.app/misc, it disables the carousel-ness when there aren't enough slides for the |
I would need exactly opposite behavior (disabled on mobile, active on desktop). But this is not the point. The point is to be able to programmatically init/destroy carousel. For example like this: |
I still don't understand why you would need to init or destroy manually. Also, such an API doesn't feel very Vue-y to me. Like if you don't want to use vue-ssr-carousel at some breakpoint, I think you would just wrap it in a |
True, but with v-if you would loose the markup. |
Great piece of work!
I was wondering how to init / destroy carousel on specific breakpoints as there are no such methods in the documentation. Would appreciate help.
Thanks!
The text was updated successfully, but these errors were encountered: