Initial commit

This commit is contained in:
2018-03-02 02:59:55 -05:00
parent 30518e56d4
commit 33cf657c70
34 changed files with 541 additions and 124 deletions

View File

@@ -0,0 +1,13 @@
<ion-header>
<ion-toolbar>
<ion-buttons left>
<button ion-button icon-only (tap)="close($event)">
<ion-icon name="arrow-back"></ion-icon>
</button>
</ion-buttons>
</ion-toolbar>
</ion-header>
<ion-content (click)="close($event)">
<img [src]="this.image">
</ion-content>

View File

@@ -0,0 +1,3 @@
page-lightbox {
}

View 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();
}
}