Ionic modal - what are the available animations?


#1

Hi all!

Consider the following code

$ionicModal.fromTemplateUrl('templates/modal.html', {
  animation: 'slide-in-up'
})

I’m looking for a list of alternatives to ‘slide-in-up’. Do you know where I can find some documentation about it?

Thanks in advance :sunny:


#2

The other animations were deprecated in beta 14. The only animation working should be slide-in-up. The ionic team is working on adding more animations.


#3

It’s important to remember that the modal animations are css-based, so you can start to build your own.


#4

yeah well if you want to make your own animation, you need to put “animation : ‘none’” in order to do that. otherwise it will still slide-in-up.

this should be written somewhere