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)
Read query parameters from a page URL and use their values.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (1:52)This section details how to access and utilize query parameters within Twidget pages, enabling dynamic content and functionality based on user-supplied parameters.
Query Parameters: A method to pass data to web pages through the URL, enabling dynamic content updates based on user interaction or external inputs.
Dynamic Content: The capability of a page to change its displayed information based on the values of query parameters.
Text Elements: Text fields can be dynamically updated with content derived from query parameters by embedding special syntax, which includes a dollar sign and double curly braces (e.g., {{$query.name}}). This syntax allows real-time data binding to URL parameters.
Page Publishing: Once changes are made and content is set using query parameters, publishing the page enables public access, demonstrating the dynamic text updates with actual query values in the URL (e.g., ?name=twidget).
Visibility and Other Settings: Query parameters can also be utilized in various element configurations, such as visibility settings, where they help tailor the user interface based on incoming data. These parameters appear in the variable dropdown during configuration, making them easily accessible.
Functions: In addition to visual elements, query parameters can be accessed within page functions. Functions can be created to execute specific logic using query parameter values. For instance, a logging function can be implemented to track the values of the query parameters by referencing the query object (e.g., $query.name).
Overall, Twidget empowers users to create dynamic and responsive web pages that adapt based on the query parameters within the URL, greatly enhancing the interactive capabilities of web applications.
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...
Page tables
Use a Table element to show a list of records with search, sortable headings and paging. Choose an existing Table page creation option, add a Table element in the editor, or start with a [Page starter](/docs/pages/page-starters). Find the right element. Select the table on the canvas or in Layers. T...
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...
Data Source Mappers
For Table elements, see [Page tables](/docs/pages/page-tables). Tables, charts and calendars now offer a scoped data picker and Sample value in the editor. The sample uses local demonstration values only; opening it does not fetch customer records or run a workflow. Page starters can also connect an...
Page Settings
The Page Settings feature allows users to customize various aspects of their web pages, particularly in relation to branding, security, and domain management. This functionality enhances the user experience by allowing for personalization and integration of essential web components. - Favicon: A fav...