mg

modal-gallery

A lightweight JavaScript library for quick, gallery-style modals.

Showing:

Popularity

Downloads/wk

5

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

1.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Modal Gallery

🎆 A lightweight JavaScript library for quick, gallery-style modals.

TODO: implement draggable, more ev handler opts, smooth transition out, package css

Installation

npm install modal-gallery

Usage

ES6

import ModalGallery from 'modal-gallery'

let gallery = new ModalGallery().attach()

Node/Browserify/webpack

var mg = require('modal-gallery')

...

var gallery = mg()
gallery.attach()

Browser

<script src="modalgallery.min.js" type="text/javascript"></script>

...

var mg = ModalGallery()
mg.attach()

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100