int-lightbox
v1.0.0
Published
A simple browserify-able component for adding a lightbox to the page on-the-fly.
Downloads
4
Readme
A simple Browserify-able component for creating a lighbox on-the-fly.
Example:
var IntLightbox = require('int-lightbox');
IntLightbox.open({
html: '<p>Your HTML!</p>';
});
// when you want to close it:
IntLightbox.close();
Requires jQuery to be embedded on the page.