Want to create an interactive transcript for this episode?
Podcast: CodePen Radio
Episode: 335: Codeβs a Drag
Description: There are lots of types of dragging that can happen on websites. While they are all click (or tap), hold down, move, and let go, they are all quite a bit different. For instance:
Drag files/folders onto the browser window and drop them. The likely use case there is uploading.Drag an element on the screen to another (valid) area of the screen. The likely use case is dragging cards from one column to anotherDrag the position of an element. The likely use case is dividers between different areas.
There are native APIs for dragging stuff...