htmxTarget property

String? get htmxTarget

The id of the element htmx swaps the response into (HX-Target).

Implementation

String? get htmxTarget => header('hx-target');