Twidget includes a suite of session storage commands that enable no-code interaction with the browser’s sessionStorage
API. These tools allow temporary storage of key-value data for the current page session.
Session storage commands allow developers to manage transient data tied to a single page session. Unlike local storage, this data is cleared when the tab or browser is closed, making it suitable for non-persistent state handling, such as temporary user input or UI state.
Session Scope: Data is retained only for the duration of the browser tab session.
String-Based Access: All keys are strings, and values are stored and retrieved as text.
Temporary State: Ideal for managing ephemeral state that doesn’t need to persist between sessions.
Set Item: Stores a value under a specified key in session storage. Accepts any data type.
Get Item: Retrieves a stored value by key and returns it as text.
Remove Item: Deletes a specific key-value pair from session storage.
Clear: Clears all data associated with the current session.
These commands enable quick and flexible session-based data handling within Twidget, without requiring any manual JavaScript code.
Local Storage
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. Purpose. These commands abstract ...
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...
Date
Twidget offers a variety of commands to manipulate date objects. Below are the available commands along with their respective descriptions, inputs, and outputs. Current Date. Description: Returns the current date and time. Output: - Type: DATE Add Time. Description: Returns the date plus a specified...
Text
Twidget offers a variety of commands to manipulate text in various ways. To Uppercase. Converts all characters of the provided text to uppercase. - text: The text to be converted to uppercase. - A text string with all characters in uppercase. To Lowercase. Converts all characters of the provided tex...