gallery-vue
This project originally based on project RobinCK (vue-gallery). Here added new features such Vimeo support, improved styling and etc. Soon all information and links on this page will be updated.
📷 VueJS responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers.
Example
Install
CDN
Recommended: https://unpkg.com/vue-gallery, which will reflect the latest version as soon as it is published to npm. You can also browse the source of the npm package at https://unpkg.com/vue-gallery/
NPM
npm install vue-gallery --save
Yarn
yarn add vue-gallery
Development Setup
# install dependenciesnpm install# build dist filesnpm run build
Usage
VueJS single file (ECMAScript 2015)
Browser (ES5)
Props
Props | Type | Default | Description |
---|---|---|---|
images | Array | [] | Urls list |
index | Number | null | Opened image index |
options | Object | blueimp-gallery options |
Events
Name | Params | Description |
---|---|---|
onopen | ||
onopened | ||
onslide | ||
onslideend | ||
onslidecomplete | ||
onclose | ||
onclosed |
License
MIT © Ruslan Kedrovski