jquery-reveal

3.0.1 • Public • Published

jquery-reveal

npm-installable fork of Reveal, a jquery-plugin modal

Instructions

Add a "data-reveal-id" attribute to the element that will dispatch the modal (typically an anchor or button).

When clicked the plugin matches the value of the "data-reveal-id" attribute (eg. "myModal") with an HTML element with that ID.

Basically, put the "data-reveal-id" attribute on an object and make it's value the ID of your modal.

Readme

Keywords

Package Sidebar

Install

npm i jquery-reveal

Weekly Downloads

393

Version

3.0.1

License

MIT

Unpacked Size

20.3 kB

Total Files

5

Last publish

Collaborators

  • okize