| 1 |
define(["dojo/_base/lang", "dojo/dom-class"], |
| 2 |
function(lang, domClass){ |
| 3 |
|
| 4 |
return { |
| 5 |
|
| 6 |
init: function(){ |
| 7 |
console.log("in init for view with this.name = "+this.name); |
| 8 |
|
| 9 |
|
| 10 |
this.testheaderBackButton.on("click", lang.hitch(this, function(e){ |
| 11 |
this.app.emit("MQ3ColApp/BackFromTest", e); |
| 12 |
})); |
| 13 |
|
| 14 |
|
| 15 |
domClass.add(this.testheaderBackButton.domNode, "showOnSmall hideOnMedium hideOnLarge"); |
| 16 |
}, |
| 17 |
|
| 18 |
|
| 19 |
afterDeactivate: function(){ |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
}, |
| 24 |
|
| 25 |
|
| 26 |
destroy: function(){ |
| 27 |
|
| 28 |
} |
| 29 |
}; |
| 30 |
}); |