me-dialog v3.0.2
meDialog
An accessible javascript dialog widget as described at WAI-ARIA 1.0 Authoring Practices - Dialog (Modal) (widget)
Usage
1. Include the JavaScript
Bundled & minified versions
meDialog depends on
It also uses Element.matches, so you need to include a polyfill to support IE (see http://caniuse.com/#feat=matchesselector), which you can find at mePolyfills in the sources-folder.
- Either include all the dependencies yourself and include
me-dialog.min.jsfrom thedistfolder in your HTML page. - or use one of the standalone bundles
me-dialog.bundle.min.jsorme-dialog.bundle.ie9.min.js.
Source versions
You can find the original JavaScript file in the src folder of this package.
AMD
meShowTransition has AMD support. This allows it to be lazy-loaded with an AMD loader, such as RequireJS.
2. Default CSS
There is a default dialog CSS in the dist folder.
3. Use meDialog
I still need to write a documentation. In the meantime please see the examples and the source-code for more info.
Package managers
You can install meDialog using npm or Bower.
$ npm install me-dialogor
$ bower install me-dialogLicense
meDialog is licenses under the MIT licence.
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago