I made a pretty cool page transition with swup.js but I want to use it only for specific links. I want another more basic transition, like the standard one for the rest of the links on my site. I'm trying two swup constants but it's not working. I'm not sure if it's even possible. Here's the js:
const options = {
containers: ['.site-content'],
animationSelector: '[class*="transition-"]'
};
const swup = new Swup(options);
const optionsB = {
linkSelector: '#menu-item a',
containers: ['.site-content'],
animationSelector: '[class*="simpletrans-"]'
};
const swupB = new Swup(optionsB);