sb_event
Assign a click action to a UI element to open a cart, navigate to a page, or show a pop-up. For purchases, use the bind action.
Instructions
Give a node a click action — open the cart, go to a page, open a pop-up. A purchase is not one: use sb_bind action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| force | No | Override a render-inference guard; reported as forced | |
| action | Yes | An action this element allows, or "none" to clear. A wrong one is refused with the list | |
| dry_run | No | ||
| payload | No | ||
| trigger | No | Default "click" |