Debian Codegraph @

dojox/app/tests/borderLayoutApp/config.json

raw symbols SCIP
1 {
2 "id": "borderLayoutApp",
3 "name": "border layout App",
4 "description": "A border layout App",
5 "splash": "splash",
6
7 "loaderConfig": {
8 "paths": {
9 "layoutApp": "../dojox/app/tests/borderLayoutApp"
10 }
11 },
12
13 "dependencies": [
14 "dojox/mobile/_base",
15 "dojox/mobile/compat",
16 "dojox/mobile/TabBar",
17 "dojox/mobile/RoundRectList",
18 "dojox/mobile/ListItem",
19 "dojox/mobile/TabBarButton",
20 "dojox/mobile/Button",
21 "dojox/mobile/RoundRect",
22 "dojox/mobile/Heading",
23 "dojox/mobile/ScrollableView",
24 "dojo/store/Memory",
25 "dojox/mobile/EdgeToEdgeStoreList",
26 "dojo/store/Observable",
27 "dijit/layout/BorderContainer",
28 "dojox/mobile/View",
29 "dojox/app/widgets/Container"
30 ],
31
32 "modules": [],
33
34 "controllers": [
35 "dojox/app/controllers/Load",
36 "dojox/app/controllers/Transition",
37 "dojox/app/controllers/BorderLayout"
38 // "dojox/app/controllers/Layout" // this test can work with either Layout or BorderLayout
39 ],
40
41 "borderLayoutNoSplitter": false, // set true to turn off the splitter on the StackContainer.
42
43 // these are the possible defaultTransitions,
44 // the defaultTransition is only used if transition is not set in the config and it is not set or defaulted on the transitionEvent
45 //"defaultTransition": "slide",
46 //"defaultTransition": "none",
47 //"defaultTransition": "fade",
48 //"defaultTransition": "flip", // Note: flip does not work with a BorderLayout Controller
49
50 // these are the possible transitions,
51 // 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.
52 "transition": "slide",
53 //"transition": "none",
54 //"transition": "fade",
55 //"transition": "flip", // Note: flip does not work with a BorderLayout Controller
56
57 //stores we are using
58 "stores": {
59 "listStore":{
60 "type": "dojo/store/Memory",
61 "observable": true,
62 "params": {
63 "data": "modelApp.listData"
64 }
65 }
66 },
67
68 // The has section will include the sections for which the has checks are true.
69 // For the sections with ! it will include the section if the has check is not true.
70 "has" : {
71 "ie9orLess" : {
72 "controllers": [
73 "dojox/app/controllers/HistoryHash"
74 ]
75 },
76 "!ie9orLess" : {
77 "controllers": [
78 "dojox/app/controllers/History"
79 ]
80 }
81 },
82
83 // this app uses constraint (region) and multiple files in defaultView instead of an outer template for the layout
84
85 //the name of the view to load when the app is initialized.
86 //"defaultView": "view1+view3+view7+view9+view5",
87 //"defaultView": "view1+view9+view3+view7+view5",
88 //"defaultView": "view9+view1+view7+view3+view5",
89 "defaultView": "view2+view10+view4+view8+view6",
90
91
92 "views": {
93 "view1":{
94 "constraint" : "top",
95 "controller" : "layoutApp/views/view1.js",
96 "template": "layoutApp/templates/view1.html"
97 },
98 "view2":{
99 "constraint" : "top",
100 "template": "layoutApp/templates/view2.html"
101 },
102 "view3":{
103 "constraint" : "left",
104 "template": "layoutApp/templates/view3.html"
105 },
106 "view4":{
107 "constraint" : "left",
108 "template": "layoutApp/templates/view4.html"
109 },
110 "view5":{
111 "constraint" : "center",
112 "controller" : "layoutApp/views/view5.js",
113 "template": "layoutApp/templates/view5.html"
114 },
115 "view6":{
116 "constraint" : "center",
117 "template": "layoutApp/templates/view6.html"
118 },
119 "view7":{
120 "constraint" : "right",
121 "template": "layoutApp/templates/view7.html"
122 },
123 "view8":{
124 "constraint" : "right",
125 "template": "layoutApp/templates/view8.html"
126 },
127 "view9":{
128 "constraint" : "bottom",
129 "template": "layoutApp/templates/view9.html"
130 },
131 "view10":{
132 "constraint" : "bottom",
133 "template": "layoutApp/templates/view10.html"
134 },
135 //list view, include list view and details view
136 "list":{
137 "controller" : "layoutApp/views/list.js",
138 "template": "layoutApp/templates/list.html",
139 "dependencies":["dojox/mobile/TextBox"]
140 },
141 "itemDetails":{
142 "controller" : "layoutApp/views/itemDetails.js",
143 "template": "layoutApp/templates/itemDetails.html",
144 "dependencies":["dojox/mobile/TextBox"],
145 "defaultParams": {"cursor":"2"}
146 }
147 }
148 }