Links

Choose your Logic components

Logic components are used in the Logic view to add interactivity to your application.
This section provides overviews of the following Logic components:
  • Combine: Activates a single functionality from multiple calls.
  • Create Object: Creates an object from multiple inputs.
  • For Each: Iterates through an array of items.
  • Loop: Iterates through a set number of array items.
  • Sequence: Uses a single call to activate multiple functionalities.
  • String Template: Stores a dynamic string.

Combine

The Combine component enables you to use multiple calls to activate the same functionality. You can add unique parameters for each call.
By default, the Combine component is equipped with the following nodes:
Node
Description
call
Calls the Combine component when a connected event occurs.
param
String value associated with the first call node.
call
Calls the Combine component when a connected event occurs.
param
String value associated with the second call node.
call
Calls a connected component.
param
Value passed to the Combine component when it was called.

Create Object

The Create Object component intakes values, and formats them as an object. You can add input nodes for each value you want in the object. By default, the Create Object component is equipped with an output node that returns the formatted object.

For Each

The For Each component can iterate through an array and make a call for each array item. For each item in the array, the For Each component returns the array item's value and index.
By default, the For Each component contains the following nodes:
Node
Description
call
Calls the For Each component when a connected event occurs.
items
Array of items the For Each component iterates through.
call
Calls a connected node when each iteration occurs.
item
Value of the array item.
index
Index of the array item.

Loop

The Loop component iterates through a set number of items in an array.
By default, the Loop component contains the following nodes:
Node
Description
call
Calls the Loop component when a connected event occurs.
count
Number of items for the Loop component to iterate through.
call
Calls the connected node when each iteration occurs.
index
Index of the array item.

Sequence

The Sequence component enables you to use a single call to activate multiple functionalities in a specific order.
By default, the Sequence component is equipped with the following nodes:
Node
Description
call
Calls the Sequence component when a connected event occurs.
call 1
First call prompted by the input.
call 2
Second call prompted by the input.

String Template

The String Template component enables you to create dynamic strings.
By default, the String Template component is equipped with the following nodes:
Node
Description
name
Variable used in the String Template's dynamic string.
output
String value of the String Template.