1.0.0 • Published 6 years ago
meepo-shake v1.0.0
shake for angular
- 引入css自动加入摇一摇动画
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<div (shake)="doShake()">{{title}}</div>
doShake() {
this.title = 'shake';
this.cd.markForCheck();
}
1.0.0
6 years ago