We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
例如我只是展示一个button,当点击这个button时我去查看某一个图片,是没有这样一个方法去调用呢?
The text was updated successfully, but these errors were encountered:
这个主意不错,后续会支持
Sorry, something went wrong.
看了大佬的源码,自己改了一下。 将openPhotoSwipe方法暴露出来,在外部通过ref拿到组件对象调用。 this.$refs['preview'].openPhotoSwipe(1, document.querySelectorAll('.my-gallery')[1], true, true); 可以实现点击按钮打开预览图片
希望后期能实现预览图片自适应,和预览图片轮播不可循环滑动
No branches or pull requests
例如我只是展示一个button,当点击这个button时我去查看某一个图片,是没有这样一个方法去调用呢?
The text was updated successfully, but these errors were encountered: