💄 (breadcrumb)

This commit is contained in:
2021-04-07 22:24:03 +02:00
parent 1286872aa9
commit 098be04c64
2 changed files with 13 additions and 7 deletions

View File

@@ -1,10 +1,9 @@
import { computed, ref } from 'vue'
import { useEventListener, useWindowSize } from '@vueuse/core'
import { MOBILE_BREAKPOINT } from '@/constants/mobile'
export const useOverlay = (listen = true) => {
const body = document.querySelector('body') as HTMLBodyElement
const body = document.body
const x = ref(0)
const y = ref(0)
const { width } = useWindowSize()