dominique-mueller / angular-notifier

A well designed, fully animated, highly customizable, and easy-to-use notification library for your Angular application.
https://www.npmjs.com/package/angular-notifier
MIT License
247 stars 68 forks source link

Added feature to show a notification for indefinite period #165

Closed nikhil271995 closed 4 years ago

nikhil271995 commented 4 years ago

Added feature to show a notification for indefinite period unless user dismisses it or it is dismissed by notifier api.

Added a flag in Notification Object - hideOnlyOnAction If hideOnlyOnAction is true then the timer is stopped while invoking the show method.

codecov[bot] commented 4 years ago

Codecov Report

Merging #165 into develop will decrease coverage by 0.20%. The diff coverage is 95.45%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #165      +/-   ##
===========================================
- Coverage    99.10%   98.90%   -0.21%     
===========================================
  Files           14       14              
  Lines          447      456       +9     
  Branches        71       76       +5     
===========================================
+ Hits           443      451       +8     
- Misses           4        5       +1     
Impacted Files Coverage Δ
.../lib/components/notifier-notification.component.ts 99.14% <94.44%> (-0.86%) :arrow_down:
...fier/src/lib/models/notifier-notification.model.ts 100.00% <100.00%> (ø)
...ular-notifier/src/lib/services/notifier.service.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fd1311a...6203529. Read the comment docs.