How to use NavOptions?

#1

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

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

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
#3

Thanks a lot, I must’ve overlooked it!

#4

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

1 Like
#5

could you provide that thread’s link @drsatan01