-
-
Save amandeepmittal/749dacf1859698f25ec196492f8d8c6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { IonicPage, NavController, NavParams } from 'ionic-angular'; | |
@IonicPage() | |
@Component({ | |
selector: 'page-about', | |
templateUrl: 'about.html', | |
}) | |
export class AboutPage { | |
color: string; | |
constructor(public navCtrl: NavController, public navParams: NavParams) { | |
this.color = navParams.get('data'); | |
} | |
ionViewDidLoad() { | |
console.log('ionViewDidLoad AboutPage'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment