Is it possible to set custom page transition in routes.js if it is a computer?

I would like to set a custom page transition to fade for all routes, but only if it is on a computer and use the default if it is on a mobile or tablet.

Can this be done in the routes or do I have to do it on every router.navigate? Like this.

if (app.device.desktop){
 mainView.router.navigate("/shop/", {ignoreCache: true, force:true, transition:'f7-fade'});
mainView.router.navigate("/shop/", {ignoreCache: true, force:true});


var app = new Framework7({
    transition: Framework7.device.desktop ? 'f7-fade' : null

Thanks a lot plpl, works great :slight_smile: