720kb / 720kb/angular-fx

Play animation multiple times

Đang mở
#16 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
HTML
Star
175
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.