MCPcopy Create free account
hub / github.com/Fiddle-Digital/string-scroll / parseCoords

Method parseCoords

src/StringParse.ts:80–85  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

78 }
79 }
80 public parseCoords(e: any){
81 let br = gbcl(document.body),
82 er = gbcl(e),
83 o = er.top - br.top;
84 return { top: o };
85 }
86}

Callers 2

constructorMethod · 0.80
resizeMethod · 0.80

Calls 1

gbclFunction · 0.90

Tested by

no test coverage detected