test(gestures): init gesture test

This commit is contained in:
Adam Bradley
2016-03-06 21:12:24 -06:00
parent b967b1ee7e
commit 564d4fc5e0
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
import {App, Page} from 'ionic-angular';
@Page({
templateUrl: 'main.html'
})
class E2EPage {
onTap(ev) {
console.log('onTap', ev);
}
}
@App({
template: '<ion-nav [root]="root"></ion-nav>'
})
class E2EApp {
root;
constructor() {
this.root = E2EPage;
}
}

View File

@@ -0,0 +1,9 @@
<ion-navbar *navbar>
<ion-title>Gestures</ion-title>
</ion-navbar>
<ion-content padding>
<button (tap)="onTap($event)">Tap</button>
</ion-content>