Skip to content

optixsolutions/vue-lightbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Lightbox

A simple lightbox image gallery plugin.

Installation

npm install @optix/vue-lightbox --save

yarn add @optix/vue-lightbox
import Vue from 'vue';
import VueLightbox from '@optix/vue-lightbox';

Vue.use(VueLightbox);
@import "@optix/vue-lightbox/src/sass/_index";

Usage

// TODO

Accessing the lightbox object:

// Globally
Vue.lightbox.open();

// On an instance
this.$lightbox.open();

Methods

  • open() - id
  • onOpen() - callback
  • close()
  • onClose() - callback
  • destroy() - callback
<lightbox :images="images"></lightbox>

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published