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

如何移除单击预览的事件? #621

Closed
chf-gh opened this issue Dec 9, 2023 · 1 comment
Closed

如何移除单击预览的事件? #621

chf-gh opened this issue Dec 9, 2023 · 1 comment

Comments

@chf-gh
Copy link

chf-gh commented Dec 9, 2023

我只想通过api调用方式预览图片,不希望在单击图片时弹出预览,但是好像一旦创建了Viewer图片的单击事件就自动加上了,我应该如何取消这个单击事件?
我的实例如下

      this.viewer = new Viewer(this.nodes.image, {
        inline: false,
        navbar: false,
        title: false 
      }); 
@fengyuanchen
Copy link
Owner

暂不支持。

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