Logic and tools
Components that react to values, load other designs and show data for checking.
On this page
Components that react to values, load other designs and show data for checking. This page holds the catalogue groups Logical, Special and Debugging.
Each entry gives the folder name and version of the component, its inputs and outputs, notes, its readme and its main settings: the key in the configuration, its default value and the field in the settings form. Every component also has Name and Read value from, described in Component settings. To add a component to a design, see Import components.
API
component
counter · version 1
Counts how many times the value of the component it follows changes.
counter · version 1Inputs: none.
Outputs: none.
- Other components can follow it: it appears as
@idin Read value from.
This component keeps track of the count and increments it every time it receives a notify-event.
component
enable · version 1
Enables or disables the components inside it when a condition is met.
enable · version 1| Parameter | Type | Description |
|---|---|---|
border? |
Boolean |
Apply border and padding in the settings form. Default: true |
type? |
String |
Perform in the settings form. One of enable (Enable), disable (Disable). Default: enable |
condition? |
String |
Condition in the settings form. One of positive (When the value is positive), string (Must contain exact text), number (Must contain exact number), expression (Custom JavaScript expression). Default: positive |
value? |
String |
Value in the settings form. |
Inputs: none.
Outputs: none.
This component enables editing of elements in it, under specified conditions, you can set in settings.
component
link · version 1
Loads another design into this one.
link · version 1| Parameter | Type | Description |
|---|---|---|
url? |
String |
URL address to the app source (JSON) in the settings form. A design from your list of designs. |
resetcss? |
Boolean |
Reset element CSS in the settings form. Default: true |
input? |
String |
Input ID in the settings form. |
Inputs: none.
Outputs: none.
The component can load another app.
component
sound · version 1
Plays a sound when a condition is met.
sound · version 1| Parameter | Type | Description |
|---|---|---|
type? |
String |
Play in the settings form. One of Beep, Alert, Success, Confirm, Fail, Badge, Notification, Done, Drum, Message. Default: Beep |
volume? |
Number |
Volume in the settings form. Default: 20 |
condition? |
String |
Condition in the settings form. One of positive (When the value is positive), string (Must contain exact text), number (Must contain exact number), expression (Custom JavaScript expression). Default: positive |
value? |
String |
Value in the settings form. |
Inputs: none.
Outputs: none.
This component will play the sound you set in your settings.
component
show · version 1
Shows or hides the components inside it when a condition is met.
show · version 1| Parameter | Type | Description |
|---|---|---|
border? |
Boolean |
Apply border and padding in the settings form. Default: true |
type? |
String |
Perform in the settings form. One of show (Show), hide (Hide). Default: show |
condition? |
String |
Condition in the settings form. One of positive (When the value is positive), string (Must contain exact text), number (Must contain exact number), expression (Custom JavaScript expression). Default: positive |
value? |
String |
Value in the settings form. |
Inputs: none.
Outputs: none.
This component shows or hides the components you put into it. You can set the conditions in the settings of this component.
component
json · version 1
Shows its value as formatted JSON, for checking data.
json · version 1Inputs: none.
Outputs: none.
This component prints data in JSON format.