refactored scroller into scrollView

This commit is contained in:
riqo 2020-12-13 10:54:29 -06:00
commit 2cde4e8896

View 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;