toastify-js icon indicating copy to clipboard operation
toastify-js copied to clipboard

Vanilla JS progress bar

Open railmedia opened this issue 2 years ago • 4 comments

Issues #94 & #126

Use like so:

Toastify({ ... progressBar: true, progressBarStyle: {background: 'gray', barBackground: 'red', height: '5px'}, progressBarPosition: 'bottom', // 'top' or 'bottom' ... }).showToast();

railmedia avatar Nov 30 '23 13:11 railmedia

Oh! Very interesting! I also need this feature!

amanfrinati avatar Dec 12 '23 22:12 amanfrinati

Me too! a progress bar will definitely be a great feature to add

epulla avatar Dec 13 '23 15:12 epulla

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.

railmedia avatar Dec 13 '23 15:12 railmedia

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.

AStoker avatar Oct 28 '24 17:10 AStoker