viewerjs icon indicating copy to clipboard operation
viewerjs copied to clipboard

JavaScript image viewer.

Results 54 viewerjs issues
Sort by recently updated
recently updated
newest added

Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Here is the diff that solved...

This allows the zoom origin to behave as the follows when using icons in the control bar to zoom image: - If the image has been clicked by the mouse...

控制栏的图标 ![image](https://user-images.githubusercontent.com/41247996/201280501-927d4cf1-859e-4df0-bce9-f5f729c26f43.png) 目前是1x图,建议使用2x图,不然在高分辨率下有点糊

enhancement

On mobile devices, you can't swipe through the images **Summary** **What kind of change does this PR introduce?** (check at least one) - [x] Bugfix - [ ] Feature -...

某些场景下,幻灯片放映时,不需要自动播放,比如PPT演讲汇报时; 目前我能想到的办法是把 interval 参数设置非常大; 个人感觉可以加个参数来控制;

enhancement

**Summary** **What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix - [x] Feature - [ ] Code style update - [ ] Refactor...

[https://github.com/fengyuanchen/viewerjs/pull/429](url) 图片移动到屏幕外优化 move函数加防抖后 limit event.preventDefault 无效 不加防抖移动端体验较差 Microsoft Edge: 112.0.1722.58 viewerjs: 1.11.3 lodash.js: 4.17.21 demo: https://codepen.io/mojie-wang/pen/gOBgdjR?editors=0010

**Is your feature request related to a problem? Please describe.** 1. 希望通过一种方式来辨别view, viewed, hide, hidden这些事件是由用户主动点击viewerjs自身的控件触发的,还是编程式调用viewer实例的view()、hide()等函数触发的。 2. 当编程式调用viewer实例的view()函数触发view, viewed事件时,希望这些事件能与对应的view()方法共享同一个上下文对象。例如,调用view时我有一个上下文对象 {calledFrom:'component1'},当收到view事件时,希望从事件中取回这次调用view函数时传入的这个对象{calledFrom:'component1'},用来追溯与本次view事件对应的调用view函数时的系统状态之用。hide函数、hide事件、hidden事件也是同理。 **Describe the solution you'd like** 可行的建议方案: 1. 在view, viewed, hide, hidden事件的event对象中加入一个"triggeredBy"字段,...

enhancement

This allows setting an initial rotation before an image is displayed. Resolves #586 ```js new Viewer(dummyDiv, { // ... view: function (event) { event.detail.imageData.rotate = 90; }, ``` **Summary** **What...

Add an image map similar to what is available with the Ajax-Zoom solution viewable at https://www.ajax-zoom.com/examples/example3.php. **Describe the solution you'd like** The image map can be toggled by a button...

enhancement