You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
all toaster.pop() and toaster pop helper methods (toaster.success(), toaster.error(), etc) return a toast wrapper object composed of a toasterId and toastId.
toast.clear() accepts either toasterId and toastId arguments or the toast wrapper object returned from toast.pop().
If a toastId is not provided when creating a new toast, a GUID is generated and assigned to the toast before emitting to receiving containers.
Breaking Changes
uid and id removed and consolidated into a single toastId
prevent duplicates now checks for either last body match OR ID match
on any toast, since toastId is now always defined
prevent duplicates no longer removes the toast first if the id is
matched, it just returns and does not add the duplicate toast