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

5 lines
161 B
TypeScript

export default function getscrollAccessor(offset: 'pageXOffset' | 'pageYOffset'): {
(node: Element): number;
(node: Element, val: number): undefined;
};