mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
PTR
This commit is contained in:
@@ -14,6 +14,9 @@ class MyApp {
|
||||
doRefresh() {
|
||||
console.log('DOREFRESH')
|
||||
}
|
||||
doPull(amt) {
|
||||
console.log('PULLING', amt);
|
||||
}
|
||||
}
|
||||
|
||||
export function main(ionicBootstrap) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<ion-toolbar><ion-title>Pull To Refresh</ion-title></ion-toolbar>
|
||||
|
||||
<ion-content>
|
||||
<ion-refresher>
|
||||
<ion-refresher (refresh)="doRefresh()" (pulling)="doPull(amt)">
|
||||
</ion-refresher>
|
||||
<f></f>
|
||||
<f></f>
|
||||
|
||||
Reference in New Issue
Block a user