- Don't error on hide if the message was never rendered.
- Display html rather than pure text. Prevents sanitizing
b
,a
elements. - Prevent event bubbling when clicking "hide".
- Wrap internal markup for finer control. This is particularly useful for having a full width notification while keeping the text mostly centered.
- Remove any prior message classes when displaying new messages.
- Precompile SCSS instead of vanilla CSS.
- Add a
success
method for happy notifications. - Display options, not render options, can be passed at display time to override.
- Rename
autoHideDelay
to simplydelay
. No other delays are predicted. - Allow configuration of append or replace. By passing a
replace
option you can entirely replace the container element with the rendered element.
Initial release with these features:
- Notice and Alert methods and styling
- Auto-hide after a delay
- Pure CSS spinner support