- Changes close element to button with proper accessibility rules (PR-553)
- Angular version in
package.json
is now1.4.x
(ISSUE-244) - fixed spelling of
ariaLabelledById
andariaLabelledBySelector
inside README file by @rylan (PR-242) - fixed bug with $templateCache when template was already cached before calling ngDialog by @mixer2 (PR-241)
- add dialog close value to the $broadcast'ed events by @Kidlike (PR-252)
- fix for removing package version from bower.json as it's ignored by bower by @kkirsche (PR-255)
- fix for non-working
ngDialog.close()
when no arguments are provided by @egor-smirnov (ISSUE-243) - added documentation for
controllerAs
option by @egor-smirnov (ISSUE-248) - new option
disableAnimation
that could be used for disabling animation of dialog by @egor-smirnov (ISSUE-159) - new attribute
ng-dialog-overlay
for ngDialog directive by @egor-smirnov (ISSUE-198) - new attribute
ng-dialog-bind-to-controller
for ngDialog directive by @egor-smirnov (ISSUE-236) - fix for error when
controllerAs
is used together with inline controller definition by @andrewogburn (PR-260, ISSUE-259) - added method
getOpenDialogs()
that returns array of all opened dialogs by @egor-smirnov (ISSUE-240) - added two new events emmited by ngDialog -
ngDialog.templateLoading
andngDialog.templateLoaded
by @egor-smirnov (ISSUE-231) - added
ngDialogId
field to scope of opened dialog (this field is equal to id of dialog) by @egor-smirnov (ISSUE-274, ISSUE-264) - fix for odd timing issue when using the
closeByNavigation
option alongsideangular-ui-router package
by @jdelibas (PR-277) - fix for disabling of body scroll when dialog is opened for some cases by @marmotz (PR-280, ISSUE-206)
- fix for avoiding require multiple angular when it's required already when using CommonJS by @michaeleekk (PR-284)
- fix for
frunt build
that was resetting html.ngdialog changes by @davidvuong (PR-285) - moved Angular to dev.dependencies by @platdesign (PR-287)
- fix for unboudning all keydown events when dialog is closed by @daanoz (PR-291)
- ignore elements with tabindex=-1 when tabbing by @roaks3 (PR-292, ISSUE-281)
That was huge. Thanks everybody!
- new
resolve
option for defining locals for ngDialog controller by @rur (PR-182) - support for
controllerAs
pattern by @andrewogburn and @sprbikkel (PR-205, PR-224) - added accessibility improvements (keyboard focus management / ARIA attribute) by @richardszalay (PR-166)
- added
isOpen(id)
public method by @kasimoglou (PR-219) - fix for
esc
should only close top dialog by @jemise111 (PR-226) - fix for flickering dialogs in Internet Explorer by @MvHMontySCOUT (PR-207, discussion - ISSUE-142)
- fix issue when opening multiple dialogs simultaneously by @bchelli (PR-221)
- various minor bug fixes, general improvements and examples updates
Thanks everybody, you're awesome! 💃 👍
- better
box-sizing
policy
- prevent the modal from closing if preCloseCallback returns a falsy value
- fix negative dialogs count
- fix destroy scope with animation for multiple dialog ISSUE-125
- Make ngDialog work with AngularJS 1.3 when
$compileProvider
debug info is disabled -$compileProvider.debugInfoEnabled(false)
.
- support for UMD pattern
- get rid of
module
variable in source code - get rid of
window
dependency in favor of$window
- finally (after many requests)
$scope.ngDialogData
holds reference to the objects passed instead of copying them.
- fix for HammerJS 1.1 breaking dialog
- add support for
overlay
option (#117)
- successful tests and support for Angular.js
1.3.x
- fixed an issue with Hammer.js manager
-
ngDialog.closing
event -
closeByNavigation
option -
templateUrl
option
-
.openConfirm()
method -
.setForceBodyReload()
method - add support for
.setDefaults()
method - fix scroll jump bug
- fix event broadcasting to occur at the times they should
- fix for
ngDialogData
being passed after controller instantiation - allow objects for
ngDialogData
-
cache
option -
preCloseCallback
option -
appendTo
option -
name
option - minor code fixes and optimizations, examples improvements