Back to some semblance of sanity

This commit is contained in:
Max Lynch
2015-07-03 14:54:18 -05:00
parent 5a28d6d55e
commit a245bc2a02
4 changed files with 66 additions and 6 deletions

View File

@@ -0,0 +1,21 @@
import {Component} from 'angular2/angular2';
import {IonicView} from 'ionic/ionic';
@Component({ selector: 'ion-app' })
@IonicView({
templateUrl: 'main.html'
})
class MyApp {
constructor() {
console.log('IonicApp Start')
}
doRefresh() {
console.log('DOREFRESH')
}
}
export function main(ionicBootstrap) {
ionicBootstrap(MyApp);
}

View File

@@ -0,0 +1,30 @@
<ion-view nav-title="Pull to refresh">
<ion-toolbar>
<ion-title>Pull To Refresh</ion-title>
</ion-toolbar>
<ion-content>
<ion-refresher>
</ion-refresher>
<f></f>
<f></f>
<f></f>
<f></f>
<f></f>
<f></f>
<f></f>
</ion-content>
</ion-view>
<style>
f { display: block; height: 400px; width: 100%; background-color: #387ef5; margin-bottom: 15px; }
#counter {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 20px;
background-color: rgba(0,0,0,0.4);
z-index: 5;
}
</style>