getScrollAccessor.d.ts 161 Bytes
Newer Older
Sangjune Bae's avatar
Sangjune Bae committed
1
2
3
4
export default function getscrollAccessor(offset: 'pageXOffset' | 'pageYOffset'): {
    (node: Element): number;
    (node: Element, val: number): undefined;
};