0.1.3 • Published 5 years ago
jsz-vue-gallery v0.1.3
jsz-vue-gallery
Just simple Vuejs component for image gallery.
Npm install
npm i jsz-vue-gallery
Unpkg import
<script src="https://unpkg.com/jsz-vue-gallery"></script>
How to use ?
In MyVueComponent.vue
import JszVueGallery from 'jsz-vue-gallery'
Create OBJECT with images
myGalleryObject: {
"myImg1": {
// important !!
"imageSrc": "src/to/your/image.jpg",
}, ...
components: {JszVueGallery},
data() {
return {myGalleryObject}
And then
<jsz-vue-gallery v-bind:jsz-gallery="myGalleryObject"></jsz-vue-gallery>