GoScrobble/web/node_modules/dom-helpers/esm/getScrollAccessor.d.ts

5 lines
161 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
export default function getscrollAccessor(offset: 'pageXOffset' | 'pageYOffset'): {
(node: Element): number;
(node: Element, val: number): undefined;
};