mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
37 lines
915 B
HTML
37 lines
915 B
HTML
<!DOCTYPE html>
|
|
<html ng-app="ionicApp">
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
|
|
|
|
<title>Ionic Template</title>
|
|
|
|
<link href="http://code.ionicframework.com/nightly/css/ionic.min.css" rel="stylesheet">
|
|
<link href="style.css" rel="stylesheet">
|
|
|
|
<script src="http://code.ionicframework.com/nightly/js/ionic.bundle.js"></script>
|
|
<script src="script.js"></script>
|
|
|
|
</head>
|
|
|
|
<body ng-controller="MyCtrl">
|
|
|
|
<ion-header-bar class="bar-positive">
|
|
<h1 class="title">Refresher</h1>
|
|
</ion-header-bar>
|
|
|
|
<ion-content>
|
|
|
|
<ion-refresher on-refresh="doRefresh()" pulling-text="Pull to refresh..." refreshing-text="Refreshing!" refreshing-icon="ion-loading-c">
|
|
</ion-refresher>
|
|
|
|
<ion-list>
|
|
<ion-item ng-repeat="item in items">{{item}}</ion-item>
|
|
</ion-list>
|
|
|
|
</ion-content>
|
|
|
|
</body>
|
|
</html>
|