htmx icon indicating copy to clipboard operation
htmx copied to clipboard

hx-boost option to swap with a delay

Open minimit opened this issue 1 year ago • 1 comments

Hello, I'm trying to make a change page animation of hx-boost with javascript instead of view transition because I need to support ios and safari.

For that I need a delay on swap content on hx-boost, like hx-swap, but seems hx-boost doesn't have such option.

minimit avatar Nov 22 '23 13:11 minimit

Thinking about it, animating between pages without view transition it's more complex than a simple delay. Done right for all use cases, is something like barbajs does, see this graph https://barba.js.org/docs/getstarted/lifecycle/

minimit avatar Nov 24 '23 16:11 minimit