click
Dispatch an event on an element by its ref. Automatically follows links to navigate and returns block map or status.
Instructions
Dispatch a click event on the element at ref (e.g. e:142, returned from query). If the element is and the click was not preventDefault'd, auto-follows the href via navigate (returns the full navigation result with new BlockMap). Otherwise returns {ok, ref, tag, follow: null}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref like e:142 |