mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
28 lines
490 B
HTML
28 lines
490 B
HTML
<ion-view nav-title="Pull to refresh">
|
|
|
|
<ion-content ion-refresher (refreshing)="doRefresh()">
|
|
|
|
<div id="counter"></div>
|
|
|
|
<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>
|