Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active July 12, 2017 22:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save matthieu-D/b80dfe973123c88038da71ea51c6fa8e to your computer and use it in GitHub Desktop.
import { AboutPage } from "../about/about";
import { NavController } from 'ionic-angular';
export class HomePage {
constructor(public navCtrl: NavController) {
}
.
.
.
goToAbout() {
const animationsOptions = {
animation: 'ios-transition',
duration: 1000
}
this.navCtrl.push(AboutPage, {}, animationsOptions);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment