github sweetalert2/ngx-sweetalert2 v2.0.0

latest releases: v12.1.0, v12.0.2, v12.0.1...
6 years ago

2.0.0 (2017-10-10)

The APIs of SwalComponent and SwalDirective haven't changed. However, you now have to install SweetAlert2 as a direct dependency, and possibly change the way you import the NgSweetAlert2Module.

Bug Fixes

  • SweetAlert2Module: remove forced SwalDefaults provider on every module instance (9370413)

Features

  • package: SweetAlert2 is now a peer dependency (00ee2d5)

BREAKING CHANGES

  • package: SweetAlert2 is now a peer dependency: if you haven't specified sweetalert2 in your direct dependencies yet, do it now!
  • SweetAlert2Module: Users that weren't using .forRoot() will now need to add it. Users that were using submodules won't need to repeat .forRoot() calls in these submodules - they will now inherit ther options from the parent forRoot()'ed SweetAlert2Module.

Don't miss a new ngx-sweetalert2 release

NewReleases is sending notifications on new releases.