Debian Codegraph @

dojox/app/tests/layoutApp/config.json

raw symbols SCIP
1 {
2 "id": "layoutApp",
3 "name": "layout App",
4 "description": "A layout App",
5 "splash": "splash",
6
7 "loaderConfig": {
8 "paths": {
9 "layoutApp": "../dojox/app/tests/layoutApp"
10 }
11 },
12
13 "dependencies": [
14 "dojox/app/utils/simpleModel",
15 "dojox/mobile/_base",
16 "dojox/mobile/compat",
17 "dojox/mobile/TabBar",
18 "dojox/mobile/RoundRect",
19 "dojox/mobile/TabBarButton",
20 "dojox/mobile/Button",
21 "dojox/mobile/RoundRect",
22 "dojox/mobile/Heading",
23 "dojo/store/Memory",
24 "dojo/store/Observable",
25 "dojox/mobile/EdgeToEdgeStoreList",
26 "dojox/mobile/View",
27 "dojox/app/widgets/Container"
28 ],
29
30 "modules": [],
31
32 "controllers": [
33 "dojox/app/controllers/Load",
34 "dojox/app/controllers/Transition",
35 "dojox/app/controllers/Layout"
36 ],
37
38 //stores we are using
39 "stores": {
40 "namesStore":{
41 "type": "dojo/store/Memory",
42 "params": {
43 "data": "modelApp.names"
44 }
45 },
46 "listStore":{
47 "type": "dojo/store/Memory",
48 "observable": true,
49 "params": {
50 "data": "modelApp.listData"
51 }
52 }
53 },
54
55 //models and instantiation parameters for the models. Including 'type' as a property allows
56 //one to override the class that will be used for the model.
57 "models": {
58 "names": {
59 "modelLoader": "dojox/app/utils/simpleModel",
60 "params":{
61 "store": {"$ref":"#stores.namesStore"}
62 }
63 }
64 },
65
66 // The has section will include the sections for which the has checks are true.
67 // For the sections with ! it will include the section if the has check is not true.
68 "has" : {
69 "ie9orLess" : {
70 "controllers": [
71 "dojox/app/controllers/HistoryHash"
72 ]
73 },
74 "!ie9orLess" : {
75 "controllers": [
76 "dojox/app/controllers/History"
77 ]
78 }
79 },
80
81 "template": "layoutApp/views/navigation.html",
82
83 //the name of the view to load when the app is initialized.
84 "defaultView": "simple",
85
86 // these are the possible defaultTransitions,
87 // the defaultTransition is only used if transition is not set in the config and it is not set or defaulted on the transitionEvent
88 //"defaultTransition": "slide",
89 //"defaultTransition": "none",
90 //"defaultTransition": "fade",
91 //"defaultTransition": "flip", // Note: flip does not work with a BorderLayout Controller
92
93 // these are the possible transitions,
94 // if a transition is set on a view or parent it will override the transition set on the transitionEvent or the defaultTransition in the config.
95 //"transition": "slide",
96 //"transition": "none",
97 //"transition": "fade",
98 "defaultTransition": "flip",
99
100 "views": {
101 "simple":{
102 "controller" : "layoutApp/views/simple.js",
103 "template": "layoutApp/views/simple.html",
104 "dependencies":["dojox/mobile/TextBox"]
105 },
106
107 //list view, include list view and details view
108 "listMain": {
109 "defaultView": "list",
110 "defaultTransition": "fade",
111
112 "views": {
113 "list":{
114 "controller" : "layoutApp/views/list.js",
115 "defaultTransition": "slide",
116 "template": "layoutApp/views/list.html",
117 "dependencies":["dojox/mobile/TextBox"]
118 },
119 "itemDetails":{
120 "controller" : "layoutApp/views/itemDetails.js",
121 "defaultTransition": "flip",
122 "template": "layoutApp/views/itemDetails.html",
123 "dependencies":["dojox/mobile/TextBox"],
124 "defaultParams": {"cursor":"2"}
125 }
126 }
127 },
128
129 "date": {
130 "controller": "layoutApp/views/date.js",
131 "template": "layoutApp/views/date.html",
132 "dependencies":["dojox/mobile/DatePicker", "dojox/mobile/Opener", "dojox/mobile/SpinWheelDatePicker"]
133 }
134 }
135 }