From 0190a360709cde899387b311dcf4bbaf508b00ba Mon Sep 17 00:00:00 2001
From: Tusooa Zhu <tusooa@kazv.moe>
Date: Mon, 2 Aug 2021 19:33:33 -0400
Subject: Add missing swipe click component

---
 src/components/swipe_click/swipe_click.vue | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 src/components/swipe_click/swipe_click.vue

(limited to 'src/components/swipe_click/swipe_click.vue')

diff --git a/src/components/swipe_click/swipe_click.vue b/src/components/swipe_click/swipe_click.vue
new file mode 100644
index 00000000..5372071d
--- /dev/null
+++ b/src/components/swipe_click/swipe_click.vue
@@ -0,0 +1,14 @@
+<template>
+  <div
+    v-bind="$attrs"
+    @pointerdown="handlePointerDown"
+    @pointermove="handlePointerMove"
+    @pointerup="handlePointerUp"
+    @pointercancel="handlePointerCancel"
+    @click="handleNativeClick"
+  >
+    <slot />
+  </div>
+</template>
+
+<script src="./swipe_click.js"></script>
-- 
cgit v1.2.3-70-g09d2

