apvarun / toastify-js

Pure JavaScript library for better notification messages
https://apvarun.github.io/toastify-js/
MIT License
2.23k stars 235 forks source link

feature : progress bar for time left for toast #94

Open abhijitgujar86 opened 2 years ago

abhijitgujar86 commented 2 years ago

I was using svelte -toast library https://zerodevx.github.io/svelte-toast/ , but toastify-js is what i really wanted a pure js library so that i don't have to work around and keep adding html and css everywhere. indeed a very useful and wonderful idea . great work guys. thanks to all contributors. I was wondering if i can contribute in it to add progress bar like here https://zerodevx.github.io/svelte-toast/ .

Please let me know your views ideas of if anyone can add it it will be good too.

I think this feature will add good value.

konclave commented 2 years ago

@apvarun I've implemented this feature, but with css variables and css animation. That breaks the IE10,11 compatibility. If removing IE from the supported browsers list if fine, I'll create a pull request.

railmedia commented 1 year ago

I've implemented a vanilla JS solution to this.