@launchmenu/core
Version:
An environment for visual keyboard controlled applets
7 lines • 400 B
TypeScript
/**
* A hook that can be used to control horizontal scroll position of an element
* @param scrollDuration How long it takes to scroll to the next click (transition)
* @returns A ref to pass to the container
*/
export declare function useHorizontalScroll<T extends HTMLElement = HTMLElement>(scrollDuration?: number): (el: T | null) => void;
//# sourceMappingURL=useHorizontalScroll.d.ts.map