Jhey Tompkins
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!

--

--

Jhey Tompkins
Jhey Tompkins

Written by Jhey Tompkins

I make awesome things for awesome people!

Responses (1)