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

Support for directives to be passed events when mouseover/out for timer occurs #257

Open
jbhamilton opened this issue Feb 7, 2017 · 1 comment

Comments

@jbhamilton
Copy link

I have built a progress bar that moves from full to empty as the duration of the timeout passes and displays in the bottom of the notification. However when the notification is moused over the timer is paused and when moused out the timer restarts. I would like to be able to be notified of these events to react appropriately (refilling the progress bar, not emptying it while still moused over, and restarting when moused out of.)

I know this isn't currently supported, does any one else have desire for this functionality? Was thinking of adding it...

(It might actually be cool to integrate this progress bar feature directly into the lib)

@Stabzs
Copy link
Collaborator

Stabzs commented Feb 10, 2017

It isn't necessarily a bad idea (and I'm sure several people would find it useful) but it may be easier to implement after restructuring to the directive BodyOutputType occurs to handle better eventing/databinding up and down. Also, keep in mind that a toast MAY sent to multiple containers, but each toast instance would need to be separately handled.

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

2 participants