Returns a collection data row found by the given parameters.
The collection ID to get the data row from.
The field index to be searched for.
The field value to be searched for.
Returns the variable type and initial value in the __variables collection found by its name.
The variable name to get
Optional
options?: stringRegisters a callback to be called when a variable changes.
A function to remove the callback.
The variable name to watch for changes.
The callback to be called when the variable changes.
Adds or updates a collection data row.
The collection ID to set the data row for.
The field index to be searched for.
The field value to be searched for.
The data row to be set.
Adds or updates a variable description.
The name of the variable to be updated or added
The starting value of the variable
The type of the variable: can be "text", "number", "switch" or "option"
Optional
variableOptions: stringOptional
newVariableName: stringThe new name of the variable in case it should be renamed
Generated using TypeDoc
siteKiosk.content.runtime