How would I go about creating a simple drag interaction? Imagine if I have a large image that is cropped by a smaller div, and I want the user to be able to drag around in the box to see more of the image.
I’ve tried looking it up, but everyone is trying to create really complex drag interactions with sliders and I can’t figure out how to just do the basic drag.
Whoa, that was quick, thank you.
But no, I meant something more like Google Maps, where the frame stays in the same place, but the image underneath moves.