Dynamic Pages, Variables and Parameter Binding
Bind native text to page variables, update page state from a compact button, read real path/query inputs with a fallback, and check responsive layouts.
Watch tutorial (9:38)
Bind native text to page variables, update page state from a compact button, read real path/query inputs with a fallback, and check responsive layouts.
Watch tutorial (9:38)
Use page variables to hold values and update the page as someone interacts with it.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (2:06)Page variables in Twidget are global variables that are accessible throughout an individual page, allowing for dynamic content generation and manipulation within the application. These variables can be utilized in various contexts, such as element settings or page functions, enabling developers to create responsive and interactive user interfaces without the need for extensive coding.
Page Scope: Unlike local variables, page variables maintain their values across different components within a page. This allows for consistent data reference in various elements, such as text, visibility settings, and more.
Dynamic Content: By leveraging page variables, developers can insert real-time data into elements. This is accomplished by referencing the variable using a specific syntax, which results in the content automatically updating when the variable value changes.
Element Functionality: Page variables enhance the functionality of elements by allowing them to respond to changes dynamically. For instance, visibility settings can be tied to page variables, enabling conditional display logic based on the current variable values.
Variable Creation: Developers can create page variables through a dedicated sidebar option. This interface contains a repository for all defined page variables and path parameters, allowing for easy management and organization.
Variable Utilization: Once created, page variables can be accessed in the element toolbar for any specific element on the page. Developers can embed these variables in textual elements or use them in settings like visibility controls, enhancing the interactivity of the UI.
Function Integration: Page variables also play a critical role in page functions, where developers can utilize them to drive logic and data manipulation within the application. Functions can create, manipulate, and reference these variables to implement more complex behaviors beyond static content.
In summary, page variables in Twidget are a powerful tool for creating dynamic web applications, offering ease of use and flexibility in designing interactive user experiences.
reCAPTCHA
Twidget integrates Google's reCAPTCHA, a security service designed to protect websites from spam and abuse by distinguishing between human and automated access. reCAPTCHA operates by requiring users to complete simple tasks, such as identifying objects in images or clicking a checkbox, thereby provi...
Page starters
Page starters give you a useful first layout for a records tool, customer view or operational dashboard. Start with clearly labeled demonstration data, customize the page, then connect the endpoints your customers are allowed to use. Choose a starting point. Open Pages, choose Create Page, then Page...
Generating Login Pages
This documentation outlines the process of generating a login page using Twidget, a no-code API development platform designed to facilitate user authentication functionalities seamlessly within applications. Purpose. The main objective of generating a login page is to enable user authentication by s...
Layout Controls
Layout controls are essential components in Twidget, allowing developers to manage the visibility and behavior of various layout elements, such as modals and drawers, within a user interface. These controls enable dynamic user interactions by facilitating the opening, closing, and toggling of layout...
Element States
Element states are fundamental attributes that define how elements visually respond to user interactions within the Twidget no-code API platform. Each element, such as buttons, input fields, or cards, can exist in multiple states, each with unique visual characteristics that enhance the user experie...