click
Dispatch a click event on a page element by its reference. Auto-follows links and returns navigation results.
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 |