| 1 | define([], function(){ |
| 2 | return { |
| 3 | init: function(){ |
| 4 | console.log("navigation view init ok"); |
| 5 | }, |
| 6 | |
| 7 | beforeActivate: function(){ |
| 8 | // summary: |
| 9 | // view life cycle afterActivate() |
| 10 | console.log("ViewScrollableLists view beforeActivate called"); |
| 11 | // this will be done in the other views, since beforeActivate is not called for the left view... |
| 12 | // if(dom.byId("tab1WrapperA")){ |
| 13 | // domStyle.set(dom.byId("tab1WrapperA"), "visibility", "visible"); // show the nav view if it being used |
| 14 | // domStyle.set(dom.byId("tab1WrapperB"), "visibility", "visible"); // show the nav view if it being used |
| 15 | // } |
| 16 | }, |
| 17 | |
| 18 | afterActivate: function(){ |
| 19 | // summary: |
| 20 | // view life cycle afterActivate() |
| 21 | console.log("ViewScrollableLists view beforeActivate called"); |
| 22 | } |
| 23 | |
| 24 | |
| 25 | }; |
| 26 | }); |