‹ 上一主题|下一主题 › | go 回复: 43 | 浏览: 35781 |倒序浏览 | 字体: tT |
|
回帖推荐This is a good opportunity to utilize the animation events described in the CSS Animations specification. In particular, we can use the animationend event to detect when the animation has completed and then trigger a navigation (by setting window.location.href, for instance). Thus our onclick will trigger the “remove-from-view” animation and register a handler for animationend on that will ensu ...
| |
|
||
|
| |
|
| |
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
‹ 上一主题|下一主题 › |