- Fixed an issue where modal backdrops were not animating properly when closing a modal
- Added the
prefix
option to support builds with custom prefixes - Added Sass source files and Gulp tasks to support builds with custom prefixes
- The plugin now runs in strict mode
- Updated all HTML classes and ids to use the
qm-
prefix - Updated all events to use the
.qm
namespace - Updated versioning to semantic style
- Removed CSS vendor prefixes (no longer needed)
- Demoted console logs for incorrect configuration to
warn
level (waserror
level)
- Fixed an issue where the close modal bindings still persisted when a specific combination of actions were taken
- Added the
onOpen
andonClose
options - Fixed an issue where the close modal bindings persisted after unbinding
- Code cleanup for maintainability
- Added the
appendBackgroundTo
option - Fixed an issue where two modal backgrounds could be appended through a specific combination of bindings
- Code cleanup for maintainability
- Added the
enableBodyScroll
option
- Fixed an issue where the unbinding of the Esc key prevented modals to open on Firefox
- Added the
enableEsc
andenableClickAway
options - Added the
trigger
method - Fixed an issue where modals taller than the viewport were not scrolling correctly
- Added method functionality
- Fixed an issue where the close modal selector was not binding correctly
- Added a min-height CSS property on the
.modal
class (fixes the appearance of empty modals)
- So it begins...