All the changes made to toastify-js library.
- Accessibility fix: Support aria-live for the toast
- Accessibility fix: Add aria-label for close icon
- Bugfix: Style Options: "backgroundColor" not working! (#81)
- Bugfix: "ShadowRoot is undefined" in older browsers (#83)
- Bugfix: IE11 support broke since style option #77
- New property
oldestFirst
allows to set the order of adding new toasts to page (#70 and #71)
selector
now supports a DOM Node, along with ID string (#65)- New property -
escapeMarkup
- Toggle the default behavior of escaping HTML markup - New property -
style
- Use the HTML DOM Style properties to add any style directly to toast - Adds
toastify-es.js
, to be used from node_modules until there are no compatibility issues
backgroundColor
is deprecated. Usestyle.background
instead
- Offset IE11 compatibility #64
- Bugfix: Max width problem for firefox browser #61
- Bugfix: Avatar positioning based on toast position
- Add support for providing toast
offset
- Updated docs: offset
- Add option to provide a node instead of text
- Updated docs: permanent toast duration
- To be able to set
stopOnFocus
for toasts without close icon - Bugfix:
duration
can be infinite by setting as0
- Bugfix: Prevent errors when parent node is removed from DOM while using frameworks
- Bugfix: IE 9/10 compatibility fix
- Bugfix: Closing the toast when custom close icon from icon fonts are used
- Bugfix: Disabling
stopOnFocus
- Deprecation Warning: Migrating from
positionLeft
property toposition
- Property
position
to supportcenter
as a value along withleft
andright
- Useful for centering toast messages in the page
- Added persistant toast option with ability to programatically close it
- Breaking Change: Manually import CSS while using as module in your modern JavaScript applications
- Ability to pause the toast dismiss timer on hover (Using
stopOnFocus
property)
- Added z-index attribute
- Added support for Classes. Now custom classes can be added to the toast while creating it
- Fix issue when
destination
andclose
options is used at the same time
- Browser support extended to IE10+ without any polyfills
- Support for modules
- Support for changing background [Options]
- Optimized toast positioning logic
- Added changelog for library update tracking
- Support for toast messages on mobile screens
- Tweaked close icon
- Support for positioning of toasts on the page
- Close buton for toasts [Options]
- Option to add on-click link for toasts
- Updated comments for code readability
- Initial Release
- Added Preview page
- Optimized function structure