Initial commit
This commit is contained in:
20
src/pages/lightbox/lightbox.ts
Normal file
20
src/pages/lightbox/lightbox.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { NavController, NavParams } from 'ionic-angular';
|
||||
|
||||
@Component({
|
||||
selector: 'page-lightbox',
|
||||
templateUrl: 'lightbox.html'
|
||||
})
|
||||
|
||||
export class LightboxPage {
|
||||
|
||||
image: string;
|
||||
|
||||
constructor(public navCtrl: NavController, private navParams: NavParams) {
|
||||
this.image = navParams.get('image');
|
||||
}
|
||||
|
||||
close(event) {
|
||||
this.navCtrl.pop();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user