Skip to content

Blogging On Rails

Everything on Rails!

Stimulus.js Tutorial: How Do I Drag and Drop Items in a List?

There is an updated version that takes advantage of HOTWire and Turbo 8 Changes here. You’ve heard about Stimulus in the DHH press tour. You’ve read the Stimulus Handbook. How about a more complicated example than what you’ve seen? Here’s a tutorial on using Stimulus to drag and drop items around in a list. Let’sContinue reading “Stimulus.js Tutorial: How Do I Drag and Drop Items in a List?”