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

Feature request: reverse option for countdown #158

Open
rottmann opened this issue Jul 23, 2017 · 0 comments
Open

Feature request: reverse option for countdown #158

rottmann opened this issue Jul 23, 2017 · 0 comments

Comments

@rottmann
Copy link

rottmann commented Jul 23, 2017

Currently a countdown look like this:
'reconnect in :current/:total seconds', { total: 5 }

Natural it should like be this:
'reconnect in :current seconds', { total: 5, reverse: true }
and count down 5, 4, ,3, 2, 1 until completed

The same could be possible for progress bars, e.g. when you uninstalling something

zhizhuxialiwen pushed a commit to zhizhuxialiwen/node-progress that referenced this issue Dec 21, 2020
Add `reverse` that is boolean defaulting to false. It used to uinstall something if `reverse` is true, and the count of `total` is from high to low until complete.

Closes visionmedia#158
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

No branches or pull requests

1 participant