Handle pinch action

This commit is contained in:
Tusooa Zhu 2021-08-01 21:39:07 -04:00
parent a7570f5eb2
commit d9030b4fdd
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
4 changed files with 57 additions and 16 deletions

View file

@ -12,9 +12,9 @@
:alt="currentMedia.description"
:title="currentMedia.description"
:style="{ transform }"
@touchstart.stop="mediaTouchStart"
@touchmove.stop="mediaTouchMove"
@touchend.stop="mediaTouchEnd"
@touchstart.stop.prevent="mediaTouchStart"
@touchmove.stop.prevent="mediaTouchMove"
@touchend.stop.prevent="mediaTouchEnd"
@click="hide"
@load="onImageLoaded"
>