vue-photoswiper
vue 2.x photoswiper rollup
Last updated a year ago by e23jiang .
MIT · Original npm · Tarball · package.json
$ cnpm install vue-photoswiper 
SYNC missed versions from official npm registry.

vue-photoswiper

Vue directive for PhotoSwipe.Javascript image gallery for mobile and desktop.

mobile desktop

Installation

npm install vue-photoswiper -S

Or

yarm add vue-photoswiper

Usage

Register

import Vue from 'vue'
import vuePhotoswiper from 'vue-photoswiper'

Vue.use(vuePhotoswiper)

new Vue({
	/// some options
})

<img src="https://farm2.staticflickr.com/1043/5186867718_06b2e9e551_b.jpg" alt="" v-preview="1" style="width:200px">

image group

<img src="https://farm2.staticflickr.com/1043/5186867718_06b2e9e551_b.jpg" alt="" v-preview="1" style="width:200px">
<img src="https://farm2.staticflickr.com/1043/5186867718_06b2e9e551_b.jpg" alt="" v-preview="1" style="width:200px">
<img src="https://farm2.staticflickr.com/1043/5186867718_06b2e9e551_b.jpg" alt="" v-preview="2" style="width:200px">
<img src="https://farm2.staticflickr.com/1043/5186867718_06b2e9e551_b.jpg" alt="" v-preview="2" style="width:200px">

Current Tags

  • 1.0.2                                ...           latest (a year ago)

3 Versions

  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 4
Dependencies (4)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |