How to use NavOptions?

How can I use NavOptions when I am pushing a view, I want to set animate to false.

 funtion(){
  this.navCtrl.push(Page2);
}

Doesn’t the link you provided explain exactly how to do this?

push(page, params, opts)

So:

this.navCtrl.push(Page2, {}, {animate: false});
1 Like

Thanks a lot, I must’ve overlooked it!

Well I found this thread after having to google how to use navOptions after reading that exact doc, so no worries.

1 Like

could you provide that thread’s link @drsatan01