@@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
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.
is it possible to set the direction between pages somehow? for eg, get it to slide forward going to edit, and back when cancel?
There are different data attributes added with Turbo you can target with CSS and do this. It's a little more involved but possible!
@@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
View Transitions is still Chrome only but interesting video!
Hi! Is it works with Bootstrap or with Tailwind only?
No framework required actually! Just plain old CSS should do it. 👍
I wonder if instead of turbo we should use HTMX. (we = rails community)
Any opinion?
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.
*Promo sm* ✌️