import { createProjectionNode } from "./dist-es-projection-node-create-projection-node.js";
import { addDomEvent } from "./dist-es-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=dist-es-projection-node-DocumentProjectionNode.js.map
