You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With hx-trigger="someCustomEvent from:body, load", the trigger on load works. Change it to hx-trigger="someCustomEvent from:body , load", and the trigger on load no longer fires (and htmx:syntax:error is written to the console twice).
I would expect the extra whitespace to be ignored. (This came up when generating HTMX using a Jinja template, where I wanted to conditionally include the load trigger, so now my template is written in a more condensed style than I'd prefer.)
The text was updated successfully, but these errors were encountered:
With
hx-trigger="someCustomEvent from:body, load"
, the trigger on load works. Change it tohx-trigger="someCustomEvent from:body , load"
, and the trigger on load no longer fires (andhtmx:syntax:error
is written to the console twice).I would expect the extra whitespace to be ignored. (This came up when generating HTMX using a Jinja template, where I wanted to conditionally include the load trigger, so now my template is written in a more condensed style than I'd prefer.)
The text was updated successfully, but these errors were encountered: