dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
27 lines (22 loc) • 787 B
JavaScript
define([], function(){
return {
init: function(){
console.log("navigation view init ok");
},
beforeActivate: function(){
// summary:
// view life cycle afterActivate()
console.log("ViewScrollableLists view beforeActivate called");
// this will be done in the other views, since beforeActivate is not called for the left view...
// if(dom.byId("tab1WrapperA")){
// domStyle.set(dom.byId("tab1WrapperA"), "visibility", "visible"); // show the nav view if it being used
// domStyle.set(dom.byId("tab1WrapperB"), "visibility", "visible"); // show the nav view if it being used
// }
},
afterActivate: function(){
// summary:
// view life cycle afterActivate()
console.log("ViewScrollableLists view beforeActivate called");
}
};
});