aboutsummaryrefslogtreecommitdiff
path: root/src/components/pinch_zoom/pinch_zoom.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-03-13 17:22:30 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-03-13 17:22:30 +0000
commit89efb0d2f4ab41eb020e6a6b7bb14dbe20e53157 (patch)
tree62f85ccaf04182630ae183cbba02a063fff8b946 /src/components/pinch_zoom/pinch_zoom.vue
parent51b14cc61578c6aee80fbf63dce2dbb7503914bb (diff)
parent1b204012eaf3fcc262689a070424c618d8d3a917 (diff)
Merge branch 'from/develop/tusooa/media-touch-actions' into 'develop'
Be able to scroll and pan media in media modal See merge request pleroma/pleroma-fe!1403
Diffstat (limited to 'src/components/pinch_zoom/pinch_zoom.vue')
-rw-r--r--src/components/pinch_zoom/pinch_zoom.vue11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/pinch_zoom/pinch_zoom.vue b/src/components/pinch_zoom/pinch_zoom.vue
new file mode 100644
index 00000000..18d69719
--- /dev/null
+++ b/src/components/pinch_zoom/pinch_zoom.vue
@@ -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>