For the complete documentation index, see llms.txt. This page is also available as Markdown.

Trigger Widgets

Trigger widgets are interactive UI elements designed to capture direct user actions and initiate processes in your backend logic.

Available trigger widgets

  • Button: The standard, highly configurable button. You use it to capture clicks and start your Function sequences.

Connecting to backend logic (data binding)

Trigger widgets connect to your logic by linking an event (like a click) to a Function.

You link widgets by dragging the logic to the UI:

  1. Drag a Trigger from a Function and drop it onto the widget.

  2. A menu will appear on the Function block; pick the specific widget event, usually onClick, to complete the link. For buttons, there is only one property, so the selection is automatic.

Two-way interaction

  • To Function Trigger: Clicking the button starts the connected logic flow.

  • From Function Output / from modifier: A Function sends data back to the button. For example, you can link a Function's Output to a button's done property to show a loading animation inside the button until that part of your flow is executed.

Last updated

Was this helpful?