Notifyjs v0.2.0
⚠️ Breaking Changes ⚠️
This version of Notifyjs contains breaking changes due to a complete rework of the notification system.
Key Changes
The entire library has been refactored to be a notification management system instead of creating individual instances of the notifications. Notifications are queued and will be displayed in the order requested with the option to force a notification to skip the queue and be displayed immediately.
Features
- Reworked library to use
window.requestAnimationFrame
instead ofsetTimeout
in order to increase performance - Notifications are queued and will be displayed in the order they're submitted
- Added positioning information/values
- Updated HTML structure to allow for more robust layouts/designs
- Removed the 10 second maximum notification duration
Roadmap
- Set custom classes on the
<snackbar-notification>
element