720kb / 720kb/angular-fx

Play animation multiple times

未关闭
#16 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
175
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。