- An
autoDismissoption to be used withmaxOpenedto dismiss the oldest toast. - Every toast has now an
isOpenedproperty to see whether they are opened or not.
- Remove a nasty console.log from the progress bar (yikes!).
- Support for a progress bar.
- A config option to change the path of the templates.
BREAKING CHANGE:
If you were using a custom template using the default path, it changed from:
templates/toastr/toastr.html
to
directives/toast/toast.html
- Now you can prevent the last toast from being duplicated setting
preventDuplicatesto true. - Fix toasts options not working if the title parameter is set to null.
- Prevent toasts to override global options.
- Fixed an issue where it wouldn't work anymore without
ngAnimate.
- Hotfix for npm package.
- No changes since last beta
- Be able to specify a concrete target for container.
- Using $injector internally to avoid circular dependencies.
- onHidden receives a parameter to see whether a toast was closed by timeout or click.
- Fix an issue with toasts not closing up.
- Fix maxOpened. Now toasts are queued when the max is reached.
- Maximum opened toasts can be limited now.
- Allows to attach an
onShownandonHiddencallback. - Allows toasts to override options without title 9013c4d
- Removed the support for IE 8 (in terms of CSS)
- Changed
$timeoutto$intervalso protractor tests won't fail.
- newestOnTop, with that you can choose whether to add new toasts on the top or bottom. Top by default.
- Angular 1.3.x support
- You can add HTML on the toastr titles.
- You can now override the toast's template.
- Fix issue using toastr with ionic.
- Now the toasts supports a close button.
- Be able to disable to close on click.
- Fixes #2 where a toast could remain open for all eternity.
- You can make an sticky toast if you set the
timeOutto 0. If you also setextendedTimeOutto 0 the sticky won't go away until you click on them. - Toasts accept custom HTML into them!
- Animations are now optional
- Removed the possibility to add the toast container where you want to (that will be back in a future)
- The
closemethod has been renamed toclearto match the original API
- Initial release