From 2cde4e88969286f20a5b9b43fc1629a8ad54e6e3 Mon Sep 17 00:00:00 2001 From: riqo Date: Sun, 13 Dec 2020 10:54:29 -0600 Subject: [PATCH] refactored scroller into scrollView --- .../{scroller/useScroller.ts => scrollView/useScrollView.ts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/composables/{scroller/useScroller.ts => scrollView/useScrollView.ts} (95%) diff --git a/src/composables/scroller/useScroller.ts b/src/composables/scrollView/useScrollView.ts similarity index 95% rename from src/composables/scroller/useScroller.ts rename to src/composables/scrollView/useScrollView.ts index 510c88f..a94de23 100644 --- a/src/composables/scroller/useScroller.ts +++ b/src/composables/scrollView/useScrollView.ts @@ -1,5 +1,5 @@ import {ref, computed, onMounted} from "vue"; -export default function useScroller({ targetId }: {targetId: string}) { +export default function useScrollView({ targetId }: {targetId: string}) { const scroll = ref(0); let scrollTarget: HTMLElement | SVGElement | null; -- 2.43.0