import getWindow from './getWindow.mjs';

function getWindowScroll(node) {
  var win = getWindow(node);
  var scrollLeft = win.pageXOffset;
  var scrollTop = win.pageYOffset;
  return {
    scrollLeft: scrollLeft,
    scrollTop: scrollTop
  };
}

export { getWindowScroll as default };
//# sourceMappingURL=getWindowScroll.mjs.map
