Greetings.
Currently, the LOOPER v3.1 custom widget allows to loop over a list of Text values. To do so, it defines a Loop Action event of type Text. By default:
- A Loop Action section appears in the right sidebar.
- The text value is accessed in expressions via
@Event.(although this should probably be@Event.Loop Actionbut I wrote a ticket for this). - The text value is also available via dropdown lists with Event > Loop Action.
While this works, I find this quite unintuitive and not very readable to access the item of the list being looped on by accessing Loop Action. I would suggest to either:
- A) Change the type of the Loop Action event from Text to Object with useful properties, like List item (Text) and List item index (Integer).
- or B) Rename the event to Read list item or something, but I find that unclear and donโt like that solution.
I find solution A much better (and I think it should potentially be a documented good practice when coding custom widgets since it allows to differentiate the event itself from the data it returns).