Re:Intercooler.js – Simple AJAX Using HTML Attributes
by cousin_it on Sunday July 08, 2018 @03:48PM
(#17485804)
Neat! Though the point of my idea is having animated transitions between pages, by replacing contents of sticky elements and letting their CSS transitions work as usual. As far as I can tell, turbolinks doesn't do that.
[ Parent
| on HN ]
Re:Intercooler.js – Simple AJAX Using HTML Attributes
by detaro on Sunday July 08, 2018 @04:13PM
(#17485938)
I think it always replaces the entire body element, not parts of it, yes
Re:Intercooler.js – Simple AJAX Using HTML Attributes
by b_f on Sunday July 08, 2018 @07:00PM
(#17486772)
Kinda like this? https://github.com/miguel-perez/smoothState.js
Re:Intercooler.js – Simple AJAX Using HTML Attributes
by cousin_it on Sunday July 08, 2018 @07:19PM
(#17486864)
Yeah, well... that still requires you to write custom JS. The thing I'm imagining would be based only on markup - which sticky ids exist in both pages. But the idea is really similar, thanks for the link!