Explore removing items from a reorder list. This functionality triggers events when items transition between lists, useful for creating dynamic boards like Trello.
Transcript
00:01
Hi.
00:02
That's a super interesting question.
00:04
So I had to try it for myself.
00:06
So I created a reorder list which for its repeating items is going to be repeating, a variable that I created, which is basically the same, the same elements we had, but now it's inside a variable so I can work with it.
00:23
So I did this because I wanted to create a button that's going to remove it from that variable.
00:29
So every single one of these repeated elements is going to have a button that when I click, it's going to remove at its index.
00:39
So that was my first experiment.
00:42
so it's going to remove its own item and then the entire list.
00:46
I was like, okay, the entire list is going to have an on item removed, which is your question log, which is going to say item was removed.
00:55
Yay.
00:56
So that was the first attempt I had to do.
00:59
So let me just show you what happens.
01:00
Category, name, third item, let's remove it.
01:03
So it was removed, but indeed it does not show it here because the only way this works is when you're moving from one night one list to the second list.
01:13
As you can see here, item was removed.
01:15
Yay.
01:16
So, yeah, indeed, this functionality, maybe we should work on renaming it.
01:22
But the way it works is just to trigger between lists.
01:26
So if you want to create like a trello, sort of system, so I hope it helps.