@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
5 lines (4 loc) • 321 B
TypeScript
type ScrollElement = HTMLElement | Window;
export declare function getScrollParent(el: Element | null | undefined, root?: ScrollElement | null | undefined): Window | Element | null | undefined;
export declare function getAllScrollableParents(element: Element | null, scrollableParents?: Element[]): Element[];
export {};