A manageable list of data
A manageable list of data
Category: Data
Tutorial: Start interactive node tutorial
| Label | Property | Type | Default | Description |
|---|---|---|---|---|
| Reinitialize if back in context | reinitializeOnReentry | checkbox | true | Reinitialize the list when the node re-enters the context. |
| On initial items change | onChange | select | "reset" | What should happen if the initial items changes? |
| State | Initial Value | Description |
|---|---|---|
| initiated | false | Is the list initiated? |
| initialItems | A list of initial items to be used. | |
| items | The current items on the list | |
| current | null | The current selected item on the list |
| count | 0 | The total number of items on the list |
initialize() - Initialize the list with the initial itemsnext() - Sets the current item to the next item on the list.prev() - Sets the current item to the previous item in the list.prepend() - Adds an entry to the top of the list.append() - Adds an entry to the end of the list.insertBefore() - Adds an entry before the current item.insertAfter() - Adds an entry after the current item.removeCurrent() - Remove the current item from the listreplaceCurrent() - Replaces the current entry with a new item.reset() - Reset the node to its initial state