720kb / 720kb/angular-fx

Play animation multiple times

Offen
#16 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
HTML
Sterne
175
Forks
10
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.