This repository has been archived by the owner on Dec 24, 2019. It is now read-only.
Version 6.7.0
This release enhances custom styles by passing the notification
object as a parameter to barStyleFactory
and activeBarStyleFactory
.
This will enable you to add custom styles to different notifications—useful if you have to style different notification "types" with different colors, for example.
function defaultStyleFactory(index, style, notification) {
return Object.assign(
....
);
}