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