(Object, Component<SortableList>). Provides a non-recursive sortable list with custom HTML components/items for each, which are typically set to another .interface key such that item states can be read out sequentially. You may also change sorting behaviours, i.e. which items cannot be deleted, or which are pinned at the top.
Note. ‘Returns:’ refers to what the Component value returns when exported to its .variable
binding.
<component_key>: (Object, Component<SortableList>)
- attributes: (Object)
- delete_button_name: (String) - Human-readable name for the delete button.
- disable_remove: (Boolean) - Whether removing items from the list should be allowed.
- has_controls: (Boolean) - Whether controls for the Component<SortableList> should be shown.
- interface: (Object, Interface) - Either an Object, Interface, or a list of Folders/Components. Note that preceding boilerplate is auto-generated. This determines the item layout.
- onchange: (Function) - Fires upon any user-driven UI change for the Component<SortableList>.
- arg0_options: (Object) - The Array<Object> return states for the entire Component<SortableList>.
- onremove: (Function) - Fires upon removing a user removing an item from the sortable_list Component.
- arg0_element: (HTMLElement)
- arg1_options: (Object)
- options: (Object)
- <option_key>: (String/Object) - If of type Object, it is assumed to be of type (Object, Placeholder), where individual placeholders are assigned to the sub .interface.
- name: (String)
- Returns: (Array<Object>) - Returns an Array<Object> of the given bound states of each item in the sortable list.