Layout Control
Arrange page elements with the layout control.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (1:57)
Arrange page elements with the layout control.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (1:57)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 layouts in response to user actions.
Layouts: These are structural UI components like modals and drawers that provide context-specific content to users. Each layout can have predefined actions associated with it.
Actions and Commands: Actions are triggers associated with user interface elements that can alter the state of layouts (e.g., open, close, toggle). Commands are similar but can be utilized within functions, offering a higher level of control and programmability.
Control Layout Action: This specific action allows any element to manage the state of a selected layout. It supports operations such as opening, closing, and toggling layouts based on user interactions.
Functions: Functions in Twidget encapsulate logic that can be reused across different UI events. By creating functions, such as "Open", developers can define specific commands to manage layout states within a broader workflow.
Element Actions: Each layout element comes with default actions, such as a close command on buttons within modals. Users can enhance these with additional layout control actions.
Adding Commands: In functions, users can utilize layout commands including open, close, toggle, and status checking. Users can also define additional behaviors when layouts are opened or closed.
Result Objects: When layouts are closed, result objects can convey information passed during the closure, allowing for more interactive experiences.
Layout controls in Twidget provide robust management of UI elements, streamlining the creation of engaging applications that react fluidly to user interactions. By interlinking actions, commands, and functions, developers can create complex and interactive layouts efficiently, enhancing the overall usability of their applications.
Page Forms
Page forms are essential components in web applications that facilitate data collection from users. They streamline user interaction by providing a structured way to input data, which can then be processed for various purposes such as updating content or storing information in a database. Key Concep...
Page Overview
Twidget provides a robust mechanism for creating web pages accessible via a browser. This feature enables users to build various types of pages using a no-code interface, enhancing the platform's developer experience. Key Concepts. Open Pages and choose Create Page. The available starting points inc...
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 Layouts
Page layouts in Twidget provide a structured way to organize and present content on a web page. The primary purpose of page layouts is to enhance user experience through effective content management and visual hierarchies. Key Concepts. - Header & Sidebar Layouts: These layouts subdivide the page in...
Element Actions
Element actions in Twidget are integral commands that can be assigned to user interface elements, enabling interactivity within applications. The actions are defined to respond to user inputs, primarily through triggering events associated with specific elements. Purpose of Element Actions. Element ...