Angular2 Animation onDone回调 [英] Angular2 Animation onDone callback

查看:71
本文介绍了Angular2 Animation onDone回调的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何在angular2中捕获新动画系统的onDone回调吗?有一个动画-我想做一些事情onDone ...我在AnimationPlayer界面上在angular2的源中看到了该方法,但是没有任何内容公开给用户...

Anyone know how to catch onDone callback for new animation system in angular2? There is an animation - and I want to do some stuff onDone... I saw in sources of angular2 this method at AnimationPlayer interface, but nothing has been exposed to users...

致以诚挚的问候!非常感谢您的回答!

With best regards! Very appreciate yours answers!

推荐答案

在即将发布的RC6版本中,将通过(@animation.done)支持此功能:

With the forthcoming RC6 release this will be supported via (@animation.done): https://github.com/angular/angular/commit/45e8e73670b96387fc109921fad299742d3f7cbf

这篇关于Angular2 Animation onDone回调的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆