mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -90,7 +90,7 @@ export class ModalPage {
|
||||
|
||||
constructor(navParams: NavParams) {
|
||||
// componentProps can also be accessed at construction time using NavParams
|
||||
console.log(navParams.get('firstName');
|
||||
console.log(navParams.get('firstName'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ export class ModalPage {
|
||||
|
||||
constructor(navParams: NavParams) {
|
||||
// componentProps can also be accessed at construction time using NavParams
|
||||
console.log(navParams.get('firstName');
|
||||
console.log(navParams.get('firstName'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user