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

Timer Functionality #13

Closed
codewithkyle opened this issue Oct 30, 2020 · 0 comments
Closed

Timer Functionality #13

codewithkyle opened this issue Oct 30, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@codewithkyle
Copy link
Owner

The toaster notification interface needs a timer boolean setting. When true it will generated a timer element that will scale as the duration is reduced. Timers should support a timerType setting that can be "vertical" or "horizontal" with horizontal being the default. These values will be used to determine if we need to scaleX() or scaleY() during the animation callback method.

Why isn't this controlled via CSS keyframe animations?

Because notification timers are paused when the window loses focus so we must control the animations via inline CSS and JavaScript.

@codewithkyle codewithkyle added the enhancement New feature or request label Oct 30, 2020
@codewithkyle codewithkyle self-assigned this Oct 30, 2020
@codewithkyle codewithkyle mentioned this issue Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant