1 min readDec 24, 2018
Hey Steve Davison 👋
No worries. It destructures an object. So I’m creating the variables inputX
and inputY
from input.offsetLeft
and input.offsetTop
respectively.
Hope that helps!
Hey Steve Davison 👋
No worries. It destructures an object. So I’m creating the variables inputX
and inputY
from input.offsetLeft
and input.offsetTop
respectively.
Hope that helps!