int-lightbox

1.0.0 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.01latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.01

Package Sidebar

Install

npm i int-lightbox

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • chrkirk