Skip to content

v1.3.0

Compare
Choose a tag to compare
@Byloth Byloth released this 24 Feb 18:44
· 17 commits to master since this release
b8cc623

Minor release

Improved AlertHandler component

It now expose a couple of new values inside its v-slot context:

  • customComponent: it no longer resides inside the alert value.
    You can now pass alert to the customComponent as a prop without also passing its own reference again.
  • queue: it's a numeric value that describes how many alerts are registered to the same AlertHandler instance.
    You can vary the display of components, for example by showing a counter like 1 of 3 or creating a "stacking" effect; note that you won't be able to access other instances of Alert instances.

Throttling Alert emission

You are now able to throttle the Alert emission (perhaps due to some application problem), avoiding spamming the UI with the same Alert hundreds of times.
This case will throw a new AlertThrottledException.