jquery-flat-modal

1.0.1 • Public • Published

PIGNOSE-Popup

npm version Join the chat at https://gitter.im/KennethanCeyer/PIGNOSE

Sample

  • See demo
  • It works on IE 8+, FF, Chrome, Opera and Safari

PIGNOSE popup is lightweight and a simple modal popup.

The modal that it uses flat design.

Usage

  1. Import jquery library (Download link).
  2. Import pignose.popup.js.
  3. Insert snippet $select.pignosePopup();

If you are using Bower

  1. open a command line and type this
bower install pg-popup
  1. move assets/js/pignose.popup.js to your project folder.

If you are using npm

  1. open a command line and type this
npm install pg-popup

Options

Option Default Type Description
animate true Boolean Use animation when popup opened.
btn_close .btn_close String This option provide to bind to close of popup function on button by jQuery Select as String type.
escape true Boolean This option provide to bind to close function on background of popup
theme none String Custom class name for modal window.

Colours

  • It support 5 type colours.
  • You can use theme option to 'black', 'blue', 'orange', 'mint' and null(default).
  • Colours

Issues

We are welcome about announcing the issue.

Please inform us, If you find some problems.

Thank you!

Package Sidebar

Install

npm i jquery-flat-modal

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • kenneth-ceyer