flemo
Version:
A modern React router library with built-in motion animations and smooth transitions
14 lines (13 loc) • 554 B
TypeScript
export default function findScrollable(startTarget: EventTarget | null, options?: {
direction?: "y" | "x";
markerSelector?: string;
depthLimit?: number;
verifyByScroll?: boolean;
}): {
element: HTMLElement | null;
hasMarker: boolean;
};
/** 내용이 넘치는지(서브픽셀 보정) */
export declare function overflowsAxis(element: HTMLElement, direction: "y" | "x"): boolean;
/** 실제 스크롤 가능 여부(선택) */
export declare function canProgrammaticallyScroll(element: HTMLElement, direction: "y" | "x"): boolean;