propapier/app/composables/navigation.ts
webfussel f60719fa9e add: lp and navigation
Added... a lot of stuff
2025-05-22 09:59:27 +02:00

24 lines
No EOL
456 B
TypeScript

import { ref } from 'vue'
const isNavigationVisible = ref(false)
export const useNavigation = () => {
const toggleNavigation = () => {
isNavigationVisible.value = !isNavigationVisible.value
}
const showNavigation = () => {
isNavigationVisible.value = true
}
const hideNavigation = () => {
isNavigationVisible.value = false
}
return {
isNavigationVisible,
toggleNavigation,
showNavigation,
hideNavigation
}
}