MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / onChangeSingle

Function onChangeSingle

src/pages/Workspace/index.jsx:386–391  ·  view source on GitHub ↗
(data, command)

Source from the content-addressed store, hash-verified

384 })
385 }
386 function onChangeSingle(data, command) {
387 effectFrame({
388 command,
389 property: data,
390 });
391 }
392 function getElementIdProperty(elementId, name) {
393 // 根据元素id 获取对应style中的值
394 return Number(document.getElementById(elementId).style[name].split('px')[0])

Callers 1

handleOkMapFunction · 0.85

Calls 1

effectFrameFunction · 0.85

Tested by

no test coverage detected