Skip to content

Commit

Permalink
Step 13.18: Create show picture component
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Jun 13, 2017
1 parent de4156c commit 9669c49
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 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.