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
Currently, there's no way to configure hx-push-url programatically using htmx.ajax(). It would be useful to have a pushUrl option there as well.
As far as I know, the only solutions are sending a 'HX-Push-Url' header in the response or using { source: element } where the referenced element has a hx-push-url attribute. The first is hard to maintain, and the second is quite hackish.
The text was updated successfully, but these errors were encountered:
Currently, there's no way to configure
hx-push-url
programatically usinghtmx.ajax()
. It would be useful to have apushUrl
option there as well.As far as I know, the only solutions are sending a
'HX-Push-Url'
header in the response or using{ source: element }
where the referenced element has ahx-push-url
attribute. The first is hard to maintain, and the second is quite hackish.The text was updated successfully, but these errors were encountered: