Model

Stores any amount of properties and can be used standalone or together with Collections and For Each nodes.

Inputs

General

Id
Set the Id for this Model. All Model nodes with the same Id will refer to the same Model and have the same properties. Use the Unique Id node to generate a unique id.

Persistence
Allows a model to be saved and synchronized across multiple devices and multiple sessions.

  • None - Don't persist this model. All data will be lost when refreshing the project, and won't be synchronized across devices.
  • Local - Use the Persist and Fetch inputs to save and retrieve the model using local storage in the browser. Data is not shared across devices and each device will have its own unique storage.
  • Global - The model is saved by Noodl and sent shared across all clients. Use the Persist and Fetch inputs to save and retrieve the model.
  • Sync - Same as global, but the model will automatically do Persist and Fetch when it's modified.

Properties

A model can have any amount of properties. Each property will get one input to set the current value.

Actions

Store
Saves any properties that are connected to the model.

Clear
Removes all properties and values from the Model.

Persist
Saves the model according to the current Persistance Type. Avaialble when Persistence Type is set to Local or Global.

Fetch
Loads the model according to the current Persistance Type. Avaialble when Persistence Type is set to Local or Global.

Outputs

General

Id
The Id for this Model

Events

Stored
Signal that is sent when new property values are stored in the Model.

Persistence

In Progress
The data is currently being persisted.

Persist Success
The data was successfully stored and persisted.

Persist Failure
The data failed to be saved.

Fetch Success
The data was successfully retrieved from persisted storage.

Fetch Failure
The data failed to be retrieved from persisted storage.

Properties

A model can have any amount of properties. Each property will get one output to get the current value.

Sign up to noodl newsletter

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.