JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 454
  • Score
    100M100P100Q90298F
  • License MIT

Modal dialog effects with transitions CSS3

Package Exports

  • custombox

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (custombox) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Custombox npm version Travis Coverage Status npm License

Modal dialog effects with transitions CSS3.

Usage

You can install custombox through bower:

bower install custombox

Or through npm:

npm install custombox

Alternatively, download the package and reference the JavaScript and CSS files manually:

<script src="custombox.min.js"></script>
<link rel="stylesheet" type="text/css" href="custombox.min.css">

Optional legacy file for along for the older browsers.

<script src="custombox.legacy.min.js"></script>

Basic usage

new Custombox.modal({
  content: {
    effect: 'fadein',
    target: '#modal'
  }
}).open();