Last updated
Was this helpful?
Trigger widgets capture direct user actions, such as clicks, to execute backend logic.
Button: Captures clicks to execute function sequences.
The button is the primary widget in this category, but you can also configure icons as triggers. Icons follow identical data binding rules.
Drag from a function or modifier onto the button. The selected slot determines the behavior:
Button to function trigger: A click executes the connected function. The trigger transmits no data. This is the primary direction for trigger widgets.
Function output or modifier to widget: A function output or modifier writes back into a button property. For example, link an output to the done property of a button to display a loading animation until that segment of the flow finishes.
The button features a single onClick event, so the selection happens automatically when linking a trigger. See Widgets for the full mechanics.
Last updated
Was this helpful?
Was this helpful?