mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
add zoom
This commit is contained in:
@@ -16,7 +16,15 @@
|
||||
<ion-content fullscreen>
|
||||
<div class="media 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>
|
||||
</ion-content>
|
||||
|
||||
@@ -12,6 +12,11 @@ export class ViewMediaPage implements OnInit {
|
||||
name: string
|
||||
_updatedAt: string
|
||||
|
||||
sliderOpts = {
|
||||
zoom: true,
|
||||
maxRation: 2
|
||||
};
|
||||
|
||||
constructor(
|
||||
private modalController: ModalController,
|
||||
private navParams:NavParams,
|
||||
|
||||
Reference in New Issue
Block a user