1.1.0 • Published 4 years ago

blue-photoswipe-component v1.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

blue-photoswipe-component

Photoswipe in vue

Requirements

PhotoSwipe

Use

use in ES6

import { photoSwipe, photoSwipeComponent } from 'blue-photoswipe-component';
Vue.use(photoSwipe,PhotoSwipeOptions);
Vue.component('blue-photoswipe-component',photoSwipeComponent);

Vue directive

v-blue-photoswipe

<div v-blue-photoswipe="{photoswipeOptions,itemTagName:'DIV'}">
  <div>
    <img src="" alt="">  
  </div>
</div>

about options itemTagName (default:'LI')

this option is closest img parentNode tagName same this itemTagName

1.1.0

4 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 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