Ready to get started?

Join Adocasts Plus for $8/mo, or sign into an existing Adocasts Plus account, to get access to all of our lessons.

robot mascot smiling

Storing Lesson Order Changes & Handling Cross-Module Drag & Drops

In This Lesson

Save the changes made to lessons inside a course when a user uses drag-and-drop to move a lesson. Users can change the lesson order inside a single module or move a lesson into a new module, so we'll need to handle both use cases.

Created by
@tomgobich
Published

Chapters

00:00 - Our Goal for this Lesson
00:58 - Handling the Lesson Drag & Drop End Event
02:33 - Defining the Lesson Order Validator
03:24 - Updating the Lessons Ordering & Modules
10:50 - A Recap of our Lesson Order & Module Update Logic
12:28 - Adding the Controller Route Handler
13:07 - Adding the Route Definition
13:35 - Sending the Order Patch Request to the Server
14:27 - Testing our Lesson Order & Module Update on Drag & Drop

Join the Discussion 0 comments

Create a free account to join in on the discussion
robot comment bubble

Be the first to comment!