Progress on scroll zoom

This commit is contained in:
Max Lynch
2015-08-31 20:26:26 -05:00
parent 5897c296b8
commit 4e71e07b37
5 changed files with 72 additions and 4 deletions

View File

@@ -1,5 +1,15 @@
<ion-slides [options]="extraOptions" id="slider" style="background-color: black">
<ion-slide *ng-for="#image of images">
<img data-src="{{getImageUrl(image)}}" slide-lazy>
<ion-scroll scroll-x="true" scroll-y="true" zoom center>
<img data-src="{{getImageUrl(image)}}" slide-lazy>
</ion-scroll>
</ion-slide>
</ion-slides>
<style>
ion-scroll {
width: 100%;
height: 100%;
}
</style>