mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
add zoom
This commit is contained in:
@@ -16,7 +16,15 @@
|
|||||||
<ion-content fullscreen>
|
<ion-content fullscreen>
|
||||||
<div class="media d-flex align-items-center justify-center">
|
<div class="media d-flex align-items-center justify-center">
|
||||||
<div class="media-content w-100 d-flex align-items-center justify-center">
|
<div class="media-content w-100 d-flex align-items-center justify-center">
|
||||||
<img src="{{image}}"/>
|
|
||||||
|
<ion-slides style="width: 100%; height: 100%;" [options]="sliderOpts">
|
||||||
|
<ion-slide>
|
||||||
|
<div class="swiper-zoom-container">
|
||||||
|
<img src="{{image}}">
|
||||||
|
</div>
|
||||||
|
</ion-slide>
|
||||||
|
</ion-slides>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
|||||||
@@ -12,6 +12,11 @@ export class ViewMediaPage implements OnInit {
|
|||||||
name: string
|
name: string
|
||||||
_updatedAt: string
|
_updatedAt: string
|
||||||
|
|
||||||
|
sliderOpts = {
|
||||||
|
zoom: true,
|
||||||
|
maxRation: 2
|
||||||
|
};
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private modalController: ModalController,
|
private modalController: ModalController,
|
||||||
private navParams:NavParams,
|
private navParams:NavParams,
|
||||||
|
|||||||
Reference in New Issue
Block a user