import { createProjectionNode } from "./create-projection-node.js";
import { addDomEvent } from "../../events/add-dom-event.js";
const DocumentProjectionNode = createProjectionNode({
  attachResizeListener: (ref, notify) => addDomEvent(ref, "resize", notify),
  measureScroll: () => ({
    x: document.documentElement.scrollLeft || document.body.scrollLeft,
    y: document.documentElement.scrollTop || document.body.scrollTop
  }),
  checkIsScrollRoot: () => true
});
export {
  DocumentProjectionNode
};
//# sourceMappingURL=DocumentProjectionNode.js.map
