UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

14 lines (13 loc) 402 B
import { StyleValue, Ref } from 'vue'; import { Emits, Props } from '../types'; /** * hook * * @param props 组件属性 * @param affixRef 实例 * @param emits 组件事件 */ export declare const useAffix: (props: Props, affixRef: Ref<HTMLDivElement | null>, emits: Emits) => { affixStyle: import('vue').ComputedRef<StyleValue>; affixRefStyle: import('vue').ComputedRef<StyleValue>; };