winteragency / ngx-viewer

Angular 8+ directive for the Viewer.js library 🔎
https://www.npmjs.com/package/ngx-viewer
MIT License
24 stars 12 forks source link

How to open image with doubleclick? #2

Closed nikitalpopov closed 5 years ago

nikitalpopov commented 5 years ago

How can I use doubleclick to open viewer, not single click?

marcusforsberg commented 5 years ago

Hi @nikitalpopov,

This module simply wraps the Viewer.js library, so any functionality such as custom even bindings would need to be added as options to the original library, which would then make them available for use through this module as well. You'll probably be better off opening an issue there: https://github.com/fengyuanchen/viewerjs 🙂