View Transitions is still Chrome only but interesting video!
@wbjxfkwsklejfde34d5 ай бұрын
is it possible to set the direction between pages somehow? for eg, get it to slide forward going to edit, and back when cancel?
@Webcrunch5 ай бұрын
There are different data attributes added with Turbo you can target with CSS and do this. It's a little more involved but possible!
@wbjxfkwsklejfde34d4 ай бұрын
@@Webcrunch ive got css targeting the direction when turbo decides its back (when you click the browser back button basicly) but i cant TELL it to go back. i was hoping i could for eg add a data attribute to a back button on the edit screen to make the turbo_visit_direction be back
@peaceandworld9 ай бұрын
Hi! Is it works with Bootstrap or with Tailwind only?
@Webcrunch9 ай бұрын
No framework required actually! Just plain old CSS should do it. 👍
@wakematta9 ай бұрын
I wonder if instead of turbo we should use HTMX. (we = rails community) Any opinion?
@Webcrunch9 ай бұрын
I'd look at stimulus if you haven't. It's very similar to HTMX and aspects of turbo. I suppose it depends if you're site is super simple/static versus something more full stack like Rails.