Htmx request headers: Hx-Trigger and Hx-Trigger-Name
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
example of format:
Request Headers:
Hx-Trigger: search_input
Hx-Trigger-Name: search