Search code examples
angularangular-animations

Angular2 Animation onDone callback


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...


Solution

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