Skip to content

oliverfarrell/es6-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Oliver Farrell
May 26, 2016
bc14818 · May 26, 2016

History

10 Commits
May 24, 2016
May 26, 2016
May 26, 2016
Apr 19, 2016
Apr 19, 2016
Apr 19, 2016
May 26, 2016
May 24, 2016

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