mysterious-toddler-20573
07/12/2022, 11:46 PMhelpful-teacher-63323
07/12/2022, 11:49 PMtall-dinner-62086
07/13/2022, 9:12 AMripe-action-67367
07/13/2022, 10:10 AMripe-action-67367
07/13/2022, 10:11 AMtall-dinner-62086
07/13/2022, 10:12 AMpowerful-helmet-42757
07/13/2022, 2:17 PM* selector in hx-select ? Something like hx-select="#myid *"tall-dinner-62086
07/13/2022, 2:24 PMpowerful-helmet-42757
07/13/2022, 2:25 PM#myid ?tall-dinner-62086
07/13/2022, 2:25 PMtall-dinner-62086
07/13/2022, 2:26 PM#myidpowerful-helmet-42757
07/13/2022, 2:32 PM<a id="load-more" class="button" href="{{ url }}"
hx-get="{{ url }}"
hx-swap="outerHTML"
hx-select="#list article, #load-more, #no-result">{{ 'THEME.PAGINATION.LOAD_MORE'|t }}
</a>
When swapped, the button itself is replaced by whatever should be appended to the list. I currently use hx-select="#list article, #load-more, #no-result" but was wondering if I could simply use hx-select="#list *".tall-dinner-62086
07/13/2022, 2:36 PMpowerful-helmet-42757
07/13/2022, 2:39 PMpowerful-helmet-42757
07/13/2022, 2:39 PMtall-dinner-62086
07/13/2022, 2:39 PMblue-ghost-19146
07/13/2022, 3:19 PMHX-Push has become Hx-Push-Url. Should this be reflected in the response headers section, which currently still refers to HX-Push? (https://htmx.org/docs/#response-headers)mysterious-toddler-20573
07/13/2022, 5:07 PMmysterious-toddler-20573
07/13/2022, 5:34 PMhundreds-camera-24900
07/13/2022, 8:08 PMtall-dinner-62086
07/13/2022, 8:11 PMtall-dinner-62086
07/13/2022, 8:11 PMechoing-book-71490
07/13/2022, 8:15 PMhx-select-oob is super interesting for the extension I built. Basically made a custom attribute doing something very similar (using a very sketchy string replace to inject hx-swap-oob into html chunks I get from the API), but it also sends the selected ids with the request. I wonder if I could somehow unify them or just lift the logic for that attribute in handleOutOfBandSwaps?echoing-book-71490
07/13/2022, 9:10 PMhandleOutOfBandSwaps to get settleInfo except handleSwap, which isn't called when a swap style is explicitly definedlate-king-98305
07/13/2022, 11:19 PMHX-Replace-Url and there are two different links giving 404s. I do see the changes to HX-Push-Url, and I'm guessing the behavior is the same, just replaces instead of pushes. (I was going to PR to fix the links, but there's not a page under /www/headers.)late-king-98305
07/13/2022, 11:23 PMmysterious-toddler-20573
07/13/2022, 11:29 PMmysterious-toddler-20573
07/14/2022, 12:01 AMacoustic-autumn-94211
07/14/2022, 12:59 AMclient-side-templates extension is there a way to run htmx.process or equivalent on the rendered output to hook up htmx behaviors / hyperscript in the template?