Use pinch-zoom-element for pinch zoom functionality

This commit is contained in:
Tusooa Zhu 2021-08-02 17:42:10 -04:00
parent 544db06294
commit a36673a6a8
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
8 changed files with 94 additions and 16 deletions

View file

@ -0,0 +1,11 @@
<template>
<pinch-zoom
class="pinch-zoom-parent"
v-bind="$attrs"
v-on="$listeners"
>
<slot />
</pinch-zoom>
</template>
<script src="./pinch_zoom.js"></script>