sb_event
Assign a click action to a UI element to open carts, navigate pages, or trigger pop-ups. Specify the element ID and desired action, with optional trigger and payload.
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 | ||
| 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" |