tall-dinner-62086
06/07/2022, 2:14 PMearly-australia-38728
06/07/2022, 2:47 PMearly-australia-38728
06/07/2022, 2:49 PMdiv wrapper so I can use e.g. afterbegin or whatever and not lose the outer layer of said HTMLearly-australia-38728
06/07/2022, 2:49 PMbrainy-ice-92385
06/07/2022, 3:47 PMearly-australia-38728
06/07/2022, 3:53 PMearly-australia-38728
06/07/2022, 3:54 PMearly-australia-38728
06/07/2022, 3:55 PMbrainy-ice-92385
06/07/2022, 4:01 PMearly-australia-38728
06/07/2022, 4:08 PM"inline-swap" extension to force every swap to be inline, and not have said wrappers. A different project with a different templating approach might never/rarely see the utility of having that option.brainy-ice-92385
06/07/2022, 4:18 PMbrainy-ice-92385
06/07/2022, 4:19 PMbrainy-ice-92385
06/07/2022, 4:20 PMearly-australia-38728
06/07/2022, 4:29 PMhx-swap-style attr that would accept "children" or "self". Having local control over that behaviour without having to resort to extensions seems Goodearly-australia-38728
06/07/2022, 4:30 PMouterHTML ofc, which I think always has to be "self" / inline)jolly-kite-167
06/07/2022, 4:44 PMfast-baker-86727
06/07/2022, 7:36 PMfast-baker-86727
06/07/2022, 7:47 PM<button hx-post="/endpoint" hx-include="#form" hx-target="sendHtmxRequest" _="on click ...[manipulate form]... then trigger sendHtmxRequest">ripe-action-67367
06/07/2022, 7:51 PMbrainy-ice-92385
06/08/2022, 5:25 AMgreat-midnight-35149
06/08/2022, 5:33 PM/foo/:some_id instead of /foo?some_id=123mysterious-toddler-20573
06/08/2022, 6:27 PMmysterious-toddler-20573
06/08/2022, 6:27 PMgreat-midnight-35149
06/08/2022, 6:34 PMmysterious-toddler-20573
06/08/2022, 6:34 PMpowerful-eye-47205
06/08/2022, 10:08 PMhx-target=['elem1', 'elem2'], hx-select=['elem1', 'elem2']. Since this (I think) doesn't exist, is there some other way to do it?powerful-eye-47205
06/08/2022, 10:12 PMhx-exchange which is the equivalent of setting both hx-target and hx-select. It could accept either a string or array. So if you just want to swap out one element from the returned HTML, you could do hx-exchange='.pizza-toppings'. But if you wanted to also update the subtotal in the sidebar, you could use hx-exchange=['.pizza-toppings', '.subtotal']mysterious-toddler-20573
06/08/2022, 10:22 PMrefined-waiter-90422
06/08/2022, 10:31 PMrefined-waiter-90422
06/08/2022, 10:31 PM