6 lines
339 B
TypeScript
6 lines
339 B
TypeScript
import { Ref } from 'vue';
|
|
type ScrollElement = HTMLElement | Window;
|
|
export declare function getScrollParent(el: Element, root?: ScrollElement | undefined): Window | Element | undefined;
|
|
export declare function useScrollParent(el: Ref<Element | undefined>, root?: ScrollElement | undefined): Ref<Window | Element | undefined>;
|
|
export {};
|