mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-12 15:22:53 +01:00
* chore: Upgrade Docusaurus from v2 to v3 * chore: Update "Test build" GH workflow * fix: build All markdown is processed as MDX * fix: Broken links
37 lines
2.6 KiB
Markdown
37 lines
2.6 KiB
Markdown
---
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
title: Repeater Item node
|
|
---
|
|
|
|
{/*##head##*/}
|
|
|
|
# Repeater Item
|
|
|
|
This node contains a set of useful utilities for components that have been dynamically created by a <span className="ndl-node">Repeater</span> node.
|
|
|
|
<div className="ndl-image-with-background l">
|
|
|
|

|
|
|
|
</div>
|
|
|
|
{/*##head##*/}
|
|
|
|
## Inputs
|
|
|
|
| Signal | Description |
|
|
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| <span className="ndl-signal">Remove Completed</span> | Send a signal, after _Try Remove_ has been sent and any remove animation is completed. This will remove the component from its parent. See _Try Remove_ below to learn more. |
|
|
|
|
## Outputs
|
|
|
|
| Data | Description |
|
|
| ----------------------------------------- | ----------------------------------- |
|
|
| <span className="ndl-data">Item Id</span> | The object _Id_ for this component. |
|
|
|
|
| Signal | Description |
|
|
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| <span className="ndl-signal">Added</span> | When a new object is added to an array, any connected [Repeater](/nodes/ui-controls/repeater) node will create a new component. This component will get the _Added_ signal. Useful for playing animations or changing states. |
|
|
| <span className="ndl-signal">Try Remove</span> | When an object is removed from am array, any connected [Repeater](/nodes/ui-controls/repeater) node will remove the component it created for that object. If this signal is connected the _Remove Completed_ input should be used to signal when animations are complete. |
|