Documentation menu
Getting Started
Core Concepts
Control
Interactivity
Pushing Data
HTMX Extensions
Miscellaneous
Configuration
Trigger Children
The trigger-children extension forwards supported htmx events to descendants that declare matching listeners.
For example, a button inside a form can react when the form sends a request.
The loading indicator listens for
htmx:before:request and htmx:after:request to update the button during submission.