swup / parallel-plugin

A swup plugin for animating the previous and next page in parallel  🎏
https://swup.js.org/plugins/parallel-plugin
MIT License
6 stars 1 forks source link

Keep copies of previous container #6

Closed daun closed 1 year ago

daun commented 1 year ago

Description

Questions

Should this be it's own plugin, e.g. Stack Plugin or History Plugin? Considering the added complexity of abstracting a history stack (see last bullet point above), it might make sense to split this off right away. Or not.

Example animation

https://github.com/swup/parallel-plugin/assets/22225348/9750f1f7-a653-4c09-aec6-ee2eb247d3f9

Checks

Additional information

Closes #5

hirasso commented 1 year ago

I also prefer alternative 1! And: beautiful 😻

daun commented 1 year ago

@hirasso Thanks, I'll implement alternative one, then.

daun commented 1 year ago

Ready to go :)