swup/swupjs

Instead of data-swup-class on link, can I use data-swup-class on #swup?

buckle2000 opened this issue · 2 comments

One data- for destination page is easier to setup than data- on links.

I think the page should set itself's animation class.

Next page does not have to be loaded at the time the animation starts, so it’s content cannot be used to decide the animation.