Skip to content

Notifyjs v0.2.0

Compare
Choose a tag to compare
@codewithkyle codewithkyle released this 30 Sep 12:16
· 99 commits to master since this release
19fada0

⚠️ 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 of setTimeout 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