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

Time To Live Indicator for toasts #188

Closed
tradiff opened this issue Oct 6, 2014 · 5 comments
Closed

Time To Live Indicator for toasts #188

tradiff opened this issue Oct 6, 2014 · 5 comments

Comments

@tradiff
Copy link
Contributor

tradiff commented Oct 6, 2014

I would like to add an indicator to toasts to display the amount of time remaining before "this toast" gets removed. Here is a proof of concept of what I'm proposing.

This is to address the confusion some users have in determining if a toast is sticky or not. The confusion is further amplified by the potential different timeouts if the mouse has hovered over the toast.

If this is something you would like to see in toastr, I will be happy to make a proper pull request. Of course I would make a configuration option, add unit tests, add css for appropriate colors of the default toast types and update the less and scss files.

Let me know, thanks!

@johnpapa
Copy link
Member

johnpapa commented Oct 6, 2014

LOVE the idea! go for it.

@johnpapa
Copy link
Member

johnpapa commented Oct 6, 2014

It would have to be "opt in" with a setting, to not break existing usage, of course.

@SBero
Copy link
Contributor

SBero commented Oct 6, 2014

This one is pretty cool. Look forward to seeing it integrated.

@TimFerrell
Copy link
Member

This looks very cool.

@TimFerrell
Copy link
Member

Integrated.

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

No branches or pull requests

4 participants