UNPKG

@aplus-frontend/ui

Version:

20 lines (19 loc) 652 B
import { InternalScrollBarExpose } from '../../scroll-bar'; import { Ref } from 'vue'; declare const useScrollWrapper: () => { maxScrollDistance: { x: number; y: number; }; scrollOffset: { x: number; y: number; }; xBarRef: Ref<InternalScrollBarExpose | undefined, InternalScrollBarExpose | undefined>; yBarRef: Ref<InternalScrollBarExpose | undefined, InternalScrollBarExpose | undefined>; scrollYBar: () => void; scrollXBar: () => void; containerRef: Ref<HTMLElement | undefined, HTMLElement | undefined>; updateMaxScrollDistance: () => void; }; export default useScrollWrapper;