PLAY PODCASTS
Htmx request headers: Hx-Trigger and Hx-Trigger-Name
Season 3 · Episode 2

Htmx request headers: Hx-Trigger and Hx-Trigger-Name

hx-pod

April 26, 20246m 26s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

You can use these headers to conditionally branch your response based on *which element* the request was triggered from

example of format:
Request Headers:
Hx-Trigger: search_input
Hx-Trigger-Name: search

Topics

htmx javascript programming laravel livewire minimalism coding html simplicity