Hi,
I am wondering if it is possible to use Effects when there is a page change in a SPA app which is built with purely Kendo.
For example this is the code of a simple SPA with 2 pages:
// variableswindow.rootUrl = "http://localhost:3000"// datasource// modelsvar model = kendo.observable({foo: "I am testing and trying out new things"});// viewsvar layoutView = new kendo.Layout("layout-template");var header = new kendo.View("index-template");var content = new kendo.View("content-template");var contact = new kendo.View("contact-template", {model: model, evalTemplate: true});// routervar myrouter = new kendo.Router({ init: function() { layoutView.render("#app"); }});myrouter.route("/aboutme", function () { layoutView.showIn("#top", header); layoutView.showIn("#main", content);});myrouter.route("/contact", function () { layoutView.showIn("#top", header); layoutView.showIn("#main", contact);});// onload$(function() { myrouter.start();});
Basically my question is if it is possible when I change page from aboutme to contact that the contact page not just appears but slides in or fades in ( and the aboutme slides out or fades out ). If it is possible then whats the recommended way to do it using the example code above?
