int-lightbox

v1.0.0
A simple browserify-able component for adding a lightbox to the page on-the-fly.

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.

npm i int-lightbox

Metadata

  • ISC
  • Whatever
  • Chris Kirk
  • released 10/1/2015

Downloads

Maintainers