mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
30 lines
566 B
HTML
30 lines
566 B
HTML
<ion-view nav-title="Pull to refresh">
|
|
<ion-toolbar>
|
|
<ion-title>Pull to Refresh</ion-title>
|
|
</ion-toolbar>
|
|
|
|
<ion-content>
|
|
<ion-refresher (refresh)="doRefresh($event, amt)"></ion-refresher>
|
|
|
|
<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>
|