DEV Community

graef685
graef685

Posted on

1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay