From: riqo Date: Sun, 13 Dec 2020 16:54:29 +0000 (-0600) Subject: refactored scroller into scrollView X-Git-Tag: v0.9~127 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=2cde4e88969286f20a5b9b43fc1629a8ad54e6e3;p=mime-chat refactored scroller into scrollView --- 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;