HTMX blocks¶
Version v1
Initialising viewer…
You can apply this model as a recipe (Drupal 10.3 or later) to your own Drupal site:
1 2 3 4 5 6 7 8 9 10 11 | |
Purpose¶
Provides 2 blocks, one of which contains a digital clock that refreshes once a second. The other one waits for a click and then dynamically loads the content of node 1.
Dependencies¶
- module
- eca_access
- eca_endpoint
- eca_htmx
- eca_render
- modeler_api
Used plugins¶
Events¶
- ECA Block (HTMX Clock)
- ECA Endpoint response (htmx-clock)
- ECA Endpoint access (htmx-clock)
- ECA Block (HTMX Node Load)
Actions¶
- Render polling region
- Render clock fragment
- Emit HX-Trigger header
- Set access result
- HTMX: render element
Changelog¶
Initial version