Permalink
Browse files

Step 13.18: Create show picture component

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent de4156c commit 9669c4994fc39685914dcf024ca820e98006967e
Showing with 14 additions and 0 deletions.
  1. +14 −0 src/pages/messages/show-picture.ts
@@ -0,0 +1,14 @@
import { Component } from '@angular/core';
import { NavParams, ViewController } from 'ionic-angular';
@Component({
selector: 'show-picture',
templateUrl: 'show-picture.html'
})
export class ShowPictureComponent {
pictureSrc: string;
constructor(private navParams: NavParams, private viewCtrl: ViewController) {
this.pictureSrc = navParams.get('pictureSrc');
}
}

0 comments on commit 9669c49

Please sign in to comment.