Vanilla JS progress bar
Use like so:
Toastify({
...
progressBar: true,
progressBarStyle: {background: 'gray', barBackground: 'red', height: '5px'},
progressBarPosition: 'bottom', // 'top' or 'bottom'
...
}).showToast();
Oh! Very interesting! I also need this feature!
Me too! a progress bar will definitely be a great feature to add
Hopefully this gets merged. I'm already using this modified version on a project, but if it gets merged and added to npm, I'll add it as a dependency on my end.
Unfortunately right now there are two "versions" of the file. An ecmascript module version (es) and an old school factory function version. You need to modify both.