Handle pinch action
This commit is contained in:
parent
a7570f5eb2
commit
d9030b4fdd
4 changed files with 57 additions and 16 deletions
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue