Skip to content

Releases: dwmkerr/angular-modal-service

v0.15.0

10 Nov 01:16
aa0877b
Compare
Choose a tag to compare
  • Support for a globally configurable close timeout. Thanks decherneyge.
  • Support for selector for appendElement. Thanks decherneyge.
  • Tooling version updates.

v0.12.0

20 May 12:29
Compare
Choose a tag to compare

This release adds two much needed APIs:

closeModals

ModalService.closeModals(result, delay): Closes any open modals, passing the specified result (optional) and waiting for the specified delay (optional).

preClose

ModalService.showModal(options): A new optional field named preClose is a function which is called before the modal starts closing. If you want to clean up your Bootstrap modals automatically, just use:

ModalService.showModal({
  templateUrl: "some/bootstrap-template.html",
  controller: "SomeController",
  preClose: (modal) => { modal.element.modal('hide'); }
}).then(function(modal) {
  // etc
});

v0.11.0

05 Mar 12:21
Compare
Choose a tag to compare

This minor release adds a new feature - being able to add a custom class to the document's body element when the modal is opened. This is great if you are not using bootstrap but still want to be able to style the main page, for example fading it while the modal is open. Thanks to Daniel Smith for the feature!

v0.10.1

15 Jun 02:30
Compare
Choose a tag to compare

Removed dependencies on bower.

v0.10.0

14 Jun 03:33
Compare
Choose a tag to compare

Moved to webpack, removed all gulp dependencies. Ready to support ES6 and modules in the source code. Updated packages to latest versions, removed dependencies on vendor folder - 3rd party dependencies for the samples are simply loaded from CDNs.

v0.6.10

19 Feb 04:13
Compare
Choose a tag to compare
  • Added support for using a custom parent scope for the controller scope, via the scope option.
  • Fixed a bug with controllerAs vs controller as.

v0.6.8

26 Sep 18:17
Compare
Choose a tag to compare

This release brings in some great community contributions:

@poporul - Improving the core logic around compilation and inputs.
@jonasnas - Fixing template cache logic.
@maxdow - Added support for controller inlining.

v0.6.7

25 Jul 08:15
Compare
Choose a tag to compare

This release bumps the Angular version to 1.4 and changes the jQuery and Bootstrap dependencies to dev dependencies only.

v0.6.6

20 Mar 21:50
Compare
Choose a tag to compare

Adds support for IE8, for those poor souls who need to support it.

v0.6.5

16 Mar 16:55
Compare
Choose a tag to compare

Minor bugfix release only.