Documentation menu

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.

View Example
The loading indicator listens for htmx:before:request and htmx:after:request to update the button during submission.