Skip to content

1.0.0

Compare
Choose a tag to compare
@scttcper scttcper released this 22 Aug 18:02
· 898 commits to master since this release
  • 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);