Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanilla JS progress bar #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

railmedia
Copy link

@railmedia railmedia commented Nov 30, 2023

Issues #94 & #126

Use like so:

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

@amanfrinati
Copy link

Oh! Very interesting! I also need this feature!

@epulla
Copy link

epulla commented Dec 13, 2023

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

@railmedia
Copy link
Author

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.

@AStoker
Copy link
Contributor

AStoker commented Oct 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants