Skip to content

Play animation multiple times #16

@jrdn91

Description

@jrdn91

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions