]> Repos - mime-chat/commitdiff
refactored scroller into scrollView
authorriqo <hernandeze2@xavier.edu>
Sun, 13 Dec 2020 16:54:29 +0000 (10:54 -0600)
committerriqo <hernandeze2@xavier.edu>
Sun, 13 Dec 2020 16:54:29 +0000 (10:54 -0600)
src/composables/scrollView/useScrollView.ts [moved from src/composables/scroller/useScroller.ts with 95% similarity]

similarity index 95%
rename from src/composables/scroller/useScroller.ts
rename to src/composables/scrollView/useScrollView.ts
index 510c88f288e584193daafa6b6e8bc7cb0e8bc83e..a94de231555eb686aa0c8d1637969772f587fe76 100644 (file)
@@ -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;