MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / getContainerWorldRect

Method getContainerWorldRect

apps/client/src/code/pages/page/page.ts:137–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 return this.rects.fromDOM(pageElem.getBoundingClientRect());
136 }
137 getContainerWorldRect() {
138 const containerClientRect = this.getContainerClientRect();
139
140 if (containerClientRect == null) {
141 return;
142 }
143
144 return this.rects.clientToWorld(containerClientRect);
145 }
146
147 getOriginClientPos() {
148 const originElem = document.querySelector(

Callers

nothing calls this directly

Calls 2

clientToWorldMethod · 0.45

Tested by

no test coverage detected