UNPKG

react-simple-pull-to-refresh

Version:
6 lines (5 loc) 260 B
import { DIRECTION } from './types'; /** * Returns whether a given element or any of its ancestors (up to rootElement) is scrollable in a given direction. */ export declare function isTreeScrollable(element: HTMLElement, direction: DIRECTION): boolean;