mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 14:52:54 +01:00
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com> Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com> Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com> Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
2.4 KiB
2.4 KiB
hide_title, hide_table_of_contents, title
| hide_title | hide_table_of_contents | title |
|---|---|---|
| true | true | Number |
<##head##>
Number
This node holds a number value. It is local to the component and cannot be accessed elsewhere in the app.
You can also use the Number node connected to a Component Inputs node. This will make sure the input shows up as a number input in the Property Panel for instances of this component.
<##head##>
Inputs
| Data | Description |
|---|---|
| Value | The value to store in the node. The output value will equal this value, unless Set is connected, then the value will be updated when a signal is received at the Set input. |
| Signal | Description |
|---|---|
| Set | This is used to only update the output when a signal is sent to Set. |
Outputs
| Data | Description |
|---|---|
| Value | The number stored in the node |
| Signal | Description |
|---|---|
| Stored | A signal is outputted here when the value is updated as a result of the Set signal being received. |

