0
Well, I’m with the following doubt, I have a Modalcontroller when I’m running on iphones, the input transition comes from below to cover the fool screen.
With this library, can I change that transition? I need the transition to appear from the middle of the screen, this should happen the same way for Android phones, iPhone and Windows.
I’m trying to do it like this:
openModal() {
let options: NativeTransitionOptions = {
direction: 'down',
duration: 500,
slowdownfactor: 3,
slidePixels: 20,
iosdelay: 100,
androiddelay: 150,
fixedPixelsTop: 0,
fixedPixelsBottom: 60
};
this.nativePageTransitions.slide(options);
let myModal = this.modalCtrl.create(SlideAccessibility, null);
myModal.present();
}
I noticed from the documentation that I have how to pass options for the call, maybe in it I can make the effect I need, but as the documentation is poor I did not find anything about.