diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-05 10:59:06 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-05 10:59:06 -0500 |
| commit | 316924fed856d6d3be675adc3275d13b78e9330c (patch) | |
| tree | d5f1e9a67ceb5fdd2033704f6bae32eb3c62e137 /www/templates | |
| parent | bc032a224a12709132dfd265302528c5df1a7af3 (diff) | |
swipe support added #48 #49
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/events-modal.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 54340bd3..c3fbffcf 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -15,7 +15,10 @@ <img imageonload="finishedLoadingImage($index)" image-spinner-src="{{playbackURL}}/index.php?view=image&rand={{$root.rand}}&path={{relativePath}}{{slide.img}}&scale={{loginData.singleImageQuality}}" image-spinner-loader="lines" - ng-class="{'zm-image-fit':imageFit==true, 'zm-image-crop':imageFit==false}" /> + ng-class="{'zm-image-fit':imageFit==true, 'zm-image-crop':imageFit==false}" + on-swipe-left="onSwipe(nextId,1)" + on-swipe-right="onSwipe(prevId,-1)" + /> </div> <div ng-if="animationInProgress"> <img imageonload="finishedLoadingImage($index)" @@ -25,10 +28,7 @@ </div> - <!--<img id="hello" imageonload="finishedLoadingImage($index)" - image-spinner-src="{{eventBasePath}}{{slide.img}}?rand={{rand}}" - image-spinner-loader="lines" - ng-class="{'zm-image-fit':imageFit==true, 'zm-image-crop':imageFit==false}";/>--> + </li> </ul> @@ -103,7 +103,7 @@ <span class="events-modal-gapless-icon"> <a ng-class="loginData.gapless? 'button button-small button-stable' : 'button button-small button-assertive' " href="" ng-click="toggleGapless()">gapless: {{loginData.gapless?"on":"off"}}</a> - </span> +</span> <!-- <nav mfb-menu position="bl" effect="zoomin" label="collapse" |
