click
Dispatch a click event on a specified element to trigger interactions or navigate to linked pages, returning click status or the new page state.
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 |