Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Step 13.19: Create show picture component
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent 5651521 commit e1bf4f9
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 } from 'ionic-angular';

@Component({
selector: 'show-picture',
templateUrl: 'show-picture.html'
})
export class ShowPictureComponent {
pictureSrc: string;

constructor(private navParams: NavParams) {
this.pictureSrc = this.navParams.get('pictureSrc');
}
}

0 comments on commit e1bf4f9

Please sign in to comment.