Ionic v2 - How to disable popover animation

I would like to disable the animation that opens Popover, starting from the upper left corner. Instead, I want it to open as it closes when I "fire", something like the FadeOut of the whole element.

I can not do it. It is unclear if I can pass any parameters to the create method.

White Paper Popover

Thank you very much.

+5
source share
1 answer

You can turn off NavOptions animations

let popover = this.popoverCtrl.create("YourPage"); popover.present({animate: false}); 

You can also change the type of animation. See the document for more information.

+2
source

Source: https://habr.com/ru/post/1272284/


All Articles