FrontPastel/node_modules/dom-helpers/cjs/getScrollAccessor.d.ts

5 lines
161 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
export default function getscrollAccessor(offset: 'pageXOffset' | 'pageYOffset'): {
(node: Element): number;
(node: Element, val: number): undefined;
};