Skip to content
/ PgwModal Public
forked from Pagawa/PgwModal

Responsive Modal / Dialog window for jQuery, Zepto and AngularJS

License

Notifications You must be signed in to change notification settings

AndiF/PgwModal

 
 

Repository files navigation

PgwModal

The full documentation and an example are available on PgwJS.com/PgwModal.

Installation

According to your system, select the preferred installation mode:

JavaScript

Download the plugin by cliking the button Download ZIP on the right.
To get the plugin updates, fork it on Github and regularly verify your plugin version.

Node / NPM

npm install pgwmodal

Requirements

jQuery 1.0 or Zepto.js 1.0 (minimal version)

Contributing

All issues or pull requests must be submitted through GitHub.

  • To report an issue or a feature request, please use GitHub Issues.
  • To make a pull request, please create a new branch for each feature or issue.

ChangeLog

  • Version 2 (newest)

    • 2014-08-23 - The version 2.0 has been released, it brings improvements and new functionalities:
      • Refactoring HTML and CSS.
      • The title bar can be totally removed.
      • Automatic repositioning after resizing or orientation change.
      • 3 new closing functionalities: "Close on escape" (enabled by default), "Close on background click" (enabled by default), and customization of the image/link (Defaults to the current black cross).
      • This version prevents the gap on the background content at the opening of the modal.
      • WARNING Several parameters have been renamed: "close" option becomes "closable", "loading" option becomes "loadingContent", and "error" option becomes "errorContent".
  • Version 1 (deprecated)

    • 2014-08-21 - Fix for reposition function by Hummerpj (Version 1.5)
    • 2014-07-02 - Fix for Zepto (Version 1.4)
    • 2014-05-30 - Added 4 modal events. View details on PgwJS.com (Version 1.3)
    • 2014-05-29 - IE8 bug fix : Delete window object / YUI compressor fix : Angular compilation (Version 1.2.2)
    • 2014-04-24 - Added the "isOpen" function (Version 1.2)
    • 2014-03-20 - Update of default modal style (Version 1.1)

About

Responsive Modal / Dialog window for jQuery, Zepto and AngularJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 80.0%
  • CSS 20.0%