github scttcper/ngx-toastr 1.0.0

latest releases: v14.2.2, v14.2.1, v14.2.0...
5 years ago
  • Overlays are now synchronous thanks to more progress on material2.
  • EventEmitters for onHidden, onShown, onTap. You can subscribe to these from your ToastConfig (the one that is an optional parameter on every toast shown).
let customConfig = new ToastConfig();
customConfig.timeOut = 0;
customConfig.onTap.subscribe(() => console.log('tapped'));
this.toastrService.error('waits for tap to close', '', customConfig);

Don't miss a new ngx-toastr release

NewReleases is sending notifications on new releases.