witty-garage-37227
08/30/2022, 8:25 PMmysterious-toddler-20573
08/30/2022, 8:45 PMadamant-salesmen-67924
08/30/2022, 11:13 PMmysterious-toddler-20573
08/30/2022, 11:14 PMadamant-state-54102
08/30/2022, 11:34 PMadamant-state-54102
08/30/2022, 11:36 PMtransitionend
but I am really curious if I can duplicate this kind of feature in pure htmx.mysterious-toddler-20573
08/31/2022, 12:20 AMmysterious-toddler-20573
08/31/2022, 12:20 AMmysterious-toddler-20573
08/31/2022, 12:21 AMadamant-state-54102
08/31/2022, 12:26 AMmysterious-toddler-20573
08/31/2022, 12:26 AMmysterious-toddler-20573
08/31/2022, 12:26 AMmysterious-toddler-20573
08/31/2022, 12:26 AMadamant-state-54102
08/31/2022, 12:27 AMadamant-state-54102
08/31/2022, 12:45 AMmysterious-toddler-20573
08/31/2022, 12:54 AMmysterious-toddler-20573
08/31/2022, 12:54 AMmysterious-toddler-20573
08/31/2022, 12:54 AMmysterious-toddler-20573
08/31/2022, 12:55 AMmysterious-toddler-20573
08/31/2022, 12:56 AMadamant-state-54102
08/31/2022, 5:08 AMhx-get-local
, which would simply "get" some local piece of (probably display:none
) html and swap that in? I'm thinking of places where you want 0-latency and have small bits of static html but still want to stay within the htmx paradigm....ripe-action-67367
08/31/2022, 5:39 AMripe-action-67367
08/31/2022, 5:40 AMhx-get="fragment:#template"
that would retrieve data from a template tag could be an interesting idea of an extensionadamant-state-54102
08/31/2022, 5:42 AMboundless-summer-65618
08/31/2022, 7:20 AMcloseModal
function so that i can get the example to work? i'm using django, if that matters.
thank you!late-king-98305
08/31/2022, 11:38 AM#fragment
, you could pass this library just an ID, and it would pull it out and send just it.late-king-98305
08/31/2022, 11:38 AMlate-king-98305
08/31/2022, 11:43 AMAbstractProblemFactoryHelperImpl
...green-army-74971
08/31/2022, 11:44 AMlate-king-98305
08/31/2022, 11:50 AMhref
and use hx-boost
(usually way up near the top of the DOM) to make things work. I've also used links styled with btn
classes, rendering the href
in addition to hx-delete
(or whatever it's actually doing). That way, the application should still work as a plain MPA even if htmx doesn't load for some reason.