I’ve been looking for a way to have a fade out transition on a single page in my application. This have proven more difficult than I thought.
this.navCtrl.setRoot(LoginPage, {}, {
animate: true,
animation: 'wp-transition',
duration: 200
})
This snippet will actually fade it, but at the same time reduce the size of the page. Looking through the code I found this comment:
The property ‘animation’ understands the following values:
md-transition
,ios-transition
andwp-transition
.
So apparently it is not as easy as writing fade, or a small CSS animation. How can I accomplish this?