- Removed polyfill for
addEventListener
on IE8. dialog()
now returns aPromise
(no more callbacks) resolving to the result object (previously known asreturnObj
).- Renamed
vars
→data
, both in the options fordialog
and in thePromise
resolved object.
NB: These changes break compatibility with v2.x. Please read the new documentation for further details.
NB: This version drops support for older browsers and IE. Consider using polyfills for addEventListener
and Promise
for browsers not supporting them.