0

Is it possible to get a done event of a CSS Transition with AngularJS 1.2 angular-animate module?

What I try to do is when I have a HTML Tag

<div ng-hide="{{toggle}}">...</div>

with a CSS - Transition like

.sidebar.ng-hide-add,
.sidebar.ng-hide-remove {
  transition:0.3s ease-out all;
  display:block!important;
}

and the corresponding .ng-hide-add, .ng-hide-remove (and active classes), that I call a function when the 0.3s transition is done.

Thanks!

1 Answer 1

0

I stumbled upon this solution - basically it works: How do I use transitionend in jQuery?

If someone wants to add a more angular-ish solution it would be great!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.