Twidget provides a set of local storage commands that enable interaction with the browser’s localStorage
API through a no-code interface. These commands are useful for storing, retrieving, and managing key-value data persistently within the current domain context.
These commands abstract the native Web Storage API, allowing users to manage local storage without writing code. This is particularly useful for persisting state, caching responses, or saving user preferences across sessions.
Local Storage Scope: All operations are scoped to the current domain.
Key-Value Structure: Data is stored and accessed using string keys.
Data Handling: Inputs are typed, and outputs are returned in text format where applicable.
Set Item: Saves a value under a specific key in local storage. Accepts any data type as the value.
Get Item: Retrieves a value by key and returns it as text.
Remove Item: Deletes the value associated with a given key.
Clear: Empties all entries in the current domain's local storage.
These commands offer a declarative way to manage local storage, making it easy to build stateful web apps within Twidget’s no-code environment.
Database
Twidget offers many commands to manage data in your database. Below is a list of the available commands and their functionalities: Get Data. Retrieve an entry from a table. Get Multiple Data. Retrieve multiple entries from a table. Save Data. Save an object to a database table. Save Multiple Data. S...
Math
Twidget offers a variety of commands to manipulate numbers. Below are the math commands available, along with their descriptions, inputs, and outputs. Sum. Description: Adds together a list of numbers and returns the sum. - Inputs: - `numbers`: A list of numbers to be added together. - Output: A sin...
Miscellaneous
Twidget provides several miscellaneous commands to facilitate various tasks. Is Null. Description: Checks whether the provided value is null or not. Inputs: - value: The value to be checked. Output: - boolean: Returns `true` if the value is null; otherwise, returns `false`. Not Null. Description: Ch...
Conditionals
Condition Command. The Condition Command allows you to perform actions based on whether an expression evaluates to true or false. You can nest other commands within the true or false branches of the condition, enabling complex logic flows. - Expression Builder: Validate two variables to equal true. ...
Variables
Variables are essential building blocks in Twidget that allow you to store and manipulate data dynamically within your no-code applications. They enable you to create flexible and interactive applications by holding values that can be changed and referenced throughout your workflow. Creating Variabl...