1.0.5 • Published 4 years ago

vue-gallerybox v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

vue-gallerybox

Install

NPM

Install the package:

npm i vue-gallerybox

Usage

How to use: data it's array of images, col it's class bootstrap np: col-md-4 || another css class

<gallery v-bind:images="gal" v-bind:column="'some-class'" />

images has the structure:

import Gallery from 'vue-gallerybox'

export default {
  props: ['data'],
  components: {
    gallery: Gallery
  },
  data () {
    return {
      gal: [
        {
          thumb: "",		//thumb src
          img: ""			//image src
          description: ''	//description
        },
        {
          thumb:  "",
          img:  "",
          description: ''
        }
      ]
    }
  },
  methods: {}
}
1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago