// Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ import { ref } from 'vue' import { ViewTransitions } from './types.ts' const viewTransition = ref(ViewTransitions.Replace) export const useViewTransition = () => { const setViewTransition = (newViewTransition: ViewTransitions) => { viewTransition.value = newViewTransition } return { setViewTransition, viewTransition, } }