Modal Animation: Is it possibile to use other animations like flip?


#1

It’s possibile to use other type of animation on modal like flip like this http://mgcrea.github.io/angular-motion/##flip or this http://angular-transitions.mgechev.com/#/view/page1?


#2

The animations declared in the modal config, they’re just css classes. So technically you can use any css animation. You just need to adapt the css to fit the modal markup


#3

That is , I create a CSS3 animation or I use some lib and I passing animation name to modal. Is’t right?


#4

Well it’s more about setting it up for ng-enter and ng-leave. Take a look at the ng-animate demo.

http://www.nganimate.org/

Once you have that, you apply the base class ( say pop-in) to the animation declaration in your JS


#5

Is this also apply to v2.0?


#6

this does not apply to v2.