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.
39 lines (31 loc) • 1.42 kB
JavaScript
define([], function(){
var app = null;
return {
init: function(){
app = this.app;
},
beforeActivate: function(){
if(app){
app.stopTransition = false;
}
//console.log("configuration/ScrollableListSelection beforeActivate called this.app.selected_configuration_item=",this.app.selected_configuration_item);
},
afterActivate: function(){
//console.log("configuration/ScrollableListSelection afterActivate called this.app.selected_configuration_item=",this.app.selected_configuration_item);
//console.log("setting configurewrapper visible 1");
//domStyle.set(dom.byId("configurewrapper"), "visibility", "visible"); // show the items list
},
beforeDeactivate: function(){
//console.log("configuration/ScrollableListSelection beforeDeactivate called this.app.selected_configuration_item=",this.app.selected_configuration_item);
},
afterDeactivate: function(){
//console.log("configuration/ScrollableListSelection afterDeactivate called this.app.selected_configuration_item=",this.app.selected_configuration_item);
//console.log("setting configurewrapper hidden");
//domStyle.set(dom.byId("configurewrapper"), "visibility", "hidden"); // hide the items list
},
// view destroy, this destroy function can be removed since it is empty
destroy: function(){
// _WidgetBase.on listener is automatically destroyed when the Widget itself is.
}
}
});