Detect end of ion-nav-bar animation without $timeout

I wanna know if it is possible to detect the end of the header bar navigation ?

The $timeout trick exposed here is not enough for my case (I have one side-menu toggle and a classic navigation, their duration aren’t equal, which cause graphical bugs for one of them, based on the timeout duration.)

I saw in your github’s repositories that you’re currently working on a javascript animation engine ( ), which seems to handle callback on animations.

Moreover I saw that it was added to the latest beta (beta11) on that commit :

Did you plan to expose an API / service to hook into lifecycle of header bar transition ?

Meanwhile, is it possible to hack this with css3 transition events …?


1 Like