Developer Docs - Mobile Docs - Attribute Reference

Every Hx.* attribute in one table, plus the reserved values you can put in them.

Attributes

Hx.* only works on visual elements. Setting a verb or Hx.Id on something that is not one, such as a context menu action or a toolbar item, is ignored.

Hx.Headers

The one attribute without a home elsewhere. Extra request headers, written as a query string, not JSON.

Inherits: yes. Your headers are applied after the standard Helix headers, so deliberately overriding a standard header works. Read them from the Headers merge field.

Reserved values

Hx.Target

Hx.Swap

Hx.Swap modifiers

Order-independent, and applied after the strategy token. An unrecognized modifier is an error, unlike a Hx.Trigger modifier.

Only inner and outer animate the exit. A duration declared without animate: is inert rather than an error. Platform reduce-motion collapses every animation to an instant swap.

Hx.Trigger events

Hx.Trigger modifiers

Times accept 400ms, 2s, or bare milliseconds. from:, target:, consume, and queue are parsed and ignored.

Hx.Params

none is the only value. Anything else is ignored.

Hx.Disinherit

Space- or comma-separated attribute names with or without the Hx. prefix, or * for all.

Case sensitivity, in one place

This trips people up because it is not uniform.

Request headers the app sends

Plus anything from Hx.Headers, and standard Rock authentication.

Response headers the app honors

HX-Location, HX-Push-Url, HX-Replace-Url, and HX-Trigger do nothing. See Endpoint Responses.

Mobile-only vocabulary

If you are porting from web Helix, this is the delta.