0.1.9 • Published 2 years ago

vue-photo-modal v0.1.9

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

Vue Photo Modal

A really simple modal plugin to show images larger when using Vue and Tailwind.

Vue Photo Modal example

Installation

The plugin is available from NPM.

npm install --save vue-photo-modal

Then, tell Vue to use the plugin:

import VuePhotoModal from 'vue-photo-modal'

Vue.use(VuePhotoModal)

This will allow you to access the plugin within Vue like so:

this.$photoModal.add({
    src: 'src to image',
    alt: 'alt text to use for the image',
    width: 'explicitly set the width',
    height: 'explicitly set the height',
    class: 'class name for the image' 
})
0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago