UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

16 lines (15 loc) 425 B
import { Ref } from 'vue'; import { Props } from '../types'; /** * hook * * @param props 组件属性 * @param marqueeRef 实例 * @param contentRef 实例 */ export declare const useMarquee: (props: Props, marqueeRef: Ref<HTMLDivElement | null>, contentRef: Ref<HTMLDivElement | null>) => { translateX: Ref<number, number>; ready: Ref<boolean, boolean>; pause: () => boolean; resume: () => boolean; };