MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / transform

Function transform

packages/debugger/src/locator/element-overlay.tsx:28–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 }, {x: 0, y: 0, width: 0, height: 0})
27
28 const transform = () => `translate(${Math.round(rect().x)}px, ${Math.round(rect().y)}px)`
29 const placeOnTop = () => rect().y > window.innerHeight / 2
30
31 const tag = () => {

Callers 1

createElementsOverlayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…