Annotation Interface HxRequest
Annotation for mapping htmx requests onto specific handler method.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionRestricts the mapping to theidof a specific target element.Restricts the mapping to theidof a specific triggered element.Restricts the mapping to thenameof a specific triggered element.Restricts the mapping to theid, if any, or to thenameof a specific triggered element.
-
Element Details
-
target
String targetRestricts the mapping to theidof a specific target element.- See Also:
- Default:
- ""
-
triggerId
String triggerIdRestricts the mapping to theidof a specific triggered element.- See Also:
- Default:
- ""
-
triggerName
String triggerNameRestricts the mapping to thenameof a specific triggered element.- See Also:
- Default:
- ""
-
value
String valueRestricts the mapping to theid, if any, or to thenameof a specific triggered element.If you want to be explicit use
triggerId()ortriggerName().- See Also:
- Default:
- ""
-