@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
1 lines • 238 B
JavaScript
function e(e,t,n,r=0){e.style.position=`absolute`,e.style.willChange=`transform`,e.style.transform=`translate3d(calc(${Math.round(t.x)}px + ${n.x}%), calc(${Math.round(t.y)}px + ${n.y}%), 0px) rotate(${r}deg)`}export{e as updatePosition};