Releases: pexea12/vue-image-lightbox
Releases · pexea12/vue-image-lightbox
Support SSR
- Support SSR when check for undefined
window
inhammerjs
- Add slots and props to customize Lightbox (#55)
fix undefined ref when add hammer event
- fix undefined ref when add hammer event
6.0.0
Add disableScroll
Properties:
disableScroll
: set totrue
to avoid scrolling views behind lightbox
5.5.2
5.5.1
5.5.0
5.4.3
5.4.1
Add vue-touch
Install the package:
npm install vue-image-lightbox vue-lazyload
yarn add vue-image-lightbox vue-lazyload vue-touch@next
Then import it in your project
At your entry point (main.js
normally)
import Vue from 'vue'
import VueLazyload from 'vue-lazyload'
import VueTouch from 'vue-touch'
...
Vue.use(VueLazyLoad)
Vue.use(VueTouch, { name: 'v-touch' })
View README to see more details