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

Play animation multiple times #16

Open
jrdn91 opened this issue Oct 26, 2016 · 0 comments
Open

Play animation multiple times #16

jrdn91 opened this issue Oct 26, 2016 · 0 comments

Comments

@jrdn91
Copy link

jrdn91 commented Oct 26, 2016

I'm adding the shake animation to a password modal, when the password is wrong it will shake, and this works great so far, however, when I try to submit the wrong password again, it won't shake a second time. What would be the process to get this to work?

So far I have this code

ngfx-shake="modal.wrongPassword"

And in my controller on a wrong password I have this

++vm.wrongPassword;

How can I get something that makes this fire the animation multiple times in a row without having to have some sort of timeout to reset the value after the animation is done

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