0.1.3 • Published 5 years ago

jsz-vue-gallery v0.1.3

Weekly downloads
13
License
-
Repository
-
Last release
5 years ago

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}

Demo

And then <jsz-vue-gallery v-bind:jsz-gallery="myGalleryObject"></jsz-vue-gallery>

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago