Comments (1)
指令式用法默认需要通过MutationObserver来监听元素变化,IE10应该不支持这项操作。
如果确定元素内部在初始化后不会再发生后续变化,可以加上static后缀,像这样使用:
<div class="images" v-viewer.static="{inline: true}">
<img v-for="src in images" :src="src" :key="src">
</div>
或者避免使用指令式,改用组件。
from v-viewer.
Related Issues (20)
- Inline issue HOT 2
- viewerjs/dist/viewer.css中的background-color写法有问题? HOT 1
- 点击旋转后一直转个不停 HOT 1
- 你好,请问可以加个新功能吗:在查看图片时显示当前索引以及图片总数。如:1/12 HOT 5
- 请问可以设置为第一次点击的时候选中,第二次再放大吗? HOT 1
- 大图片加载后会reset viewer HOT 1
- viewer.exit()和viewer.hide()不生效 HOT 2
- viewer.exit(),viewer.hide()不生效 HOT 2
- 使用的是this.$viewerApi方法,我希望点击modal或者关闭按钮关闭viewer时,阻止点击事件冒泡,要怎么做? HOT 4
- Enable photo download in the viewer toolbar HOT 5
- Image Deletion Event Emission or Customizable Event HOT 1
- The problem of accidentally triggering a double-click event when swiping quickly HOT 1
- Should add viewerjs to peerDependencies HOT 1
- 如何全屏的时候不自动切换图片 HOT 2
- 版本v1.7.3对旧的1.x.x版本出现了兼容问题 HOT 4
- 源码路径绝对路径 HOT 1
- 手机端图片移动问题 HOT 7
- 插件无法使用,无法安装 HOT 1
- 请问点击图片后,大图是从中间中心位置飞入放大,可以从底部飞入吗? HOT 9
- vue2 v-viewer compile error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v-viewer.