Skip to content

Commit

Permalink
Add pull to refresh to album view
Browse files Browse the repository at this point in the history
  • Loading branch information
b-alidra committed Jan 5, 2016
1 parent 50bbdd5 commit b75cfd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/templates/album.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
</ion-nav-buttons> </ion-nav-buttons>


<ion-content class="scroll-bg" ng-init="refresh()"> <ion-content class="scroll-bg" ng-init="refresh()">
<ion-refresher
pulling-text="Pull to refresh..."
on-refresh="refresh()">
</ion-refresher>
<div class="multi_items_row"> <div class="multi_items_row">
<div class="photo" ng-repeat="photo in album.photos"> <div class="photo" ng-repeat="photo in album.photos">
<img ng-src="{{ photo.thumbUrl }}" ng-click="showGallery({{$index}})"> <img ng-src="{{ photo.thumbUrl }}" ng-click="showGallery({{$index}})">
Expand Down

0 comments on commit b75cfd5

Please sign in to comment.