DEV Community

graef685
graef685

Posted on

When you want to show a modal, then....

...you want to execute code on opening or closing the modal?

Take a look at overlayAsPromised, a jQuery plugin on top of colorbox.

Get it at npm (https://www.npmjs.com/package/overlay-as-promised) or directly download the minified js at GitHub (https://github.com/graef685/OverlayAsPromised).

Enjoy

Top comments (0)