Skip to content

oliverfarrell/es6-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modals

Simple modals / popups / lightboxes.

Download

Getting Started

Using NPM

Getting started couldn't be easier. If you're using something like webpack, or browserify you can use the package like so.

const Modal = require('super-simple-modals');

new Modal({
  selector: '.modal',
  onShow: function () {
    console.log('showing!');
  },
  onHide: function () {
    console.log('hiding!');
  }
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published