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