mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Progress on scroll zoom
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user