Debian Codegraph @

dojox/app/tests/scrollableTestApp2/config.json

raw symbols SCIP
1 {
2 "id": "scrollableTestApp2",
3 "name": "Scrollable Test App2",
4 "description": "This is a test app for scrollable lists.",
5 "splash": "splash",
6
7 "loaderConfig": {
8 "paths": {
9 "scrollableTestApp": "../dojox/app/tests/scrollableTestApp2"
10 }
11 },
12
13 // Array of AMD modules identifiers. When defined at the top level dependencies of the dojox/app application.
14 // When defined at view level, dependencies for the view.
15 "dependencies": [
16 "dojox/mobile/_base",
17 "dojox/mobile/_compat",
18 "dojox/mobile/TabBar",
19 "dojox/mobile/TabBarButton",
20 "dojox/mobile/TextBox",
21 "dojox/mobile/Button",
22 "dojox/mobile/Heading",
23 "dojox/mobile/ListItem",
24 "dojox/mobile/RoundRectList",
25 "dojox/mobile/RoundRectCategory",
26 "dojox/app/widgets/Container",
27 "dojo/data/ItemFileWriteStore",
28 "dojo/store/DataStore",
29 "dojox/app/utils/mvcModel",
30 "dojox/mvc/EditStoreRefListController",
31 "dojox/mvc/Repeat",
32 "dojox/mvc/WidgetList",
33 "dojox/mvc/Templated",
34 "dojox/mvc/_InlineTemplateMixin",
35 "dojox/mobile/ScrollableView",
36 "dojox/mvc/Group",
37 "dojox/mvc/Output",
38 "dojox/mvc/at"
39 ],
40 // Modules for the application. They are basically used as the second
41 // array of mixins in a dojo.declare(). Modify the top level behavior
42 // of the application, how it processes the config or any other life cycle
43 // by creating and including one or more of these
44 "modules": [
45 "scrollableTestApp/scrollableTestApp"
46 ],
47
48 // Array of AMD modules identifiers. Controllers for the application. All the controllers defined here will be
49 // loaded during application startup to respond to application events and controller the application logic.
50 "controllers": [
51 "dojox/app/controllers/Load",
52 "dojox/app/controllers/Transition",
53 "dojox/app/controllers/Layout"
54 ],
55
56 // Dojo stores which are used by dojox/app to setup data models. A store item is an object with a
57 // a type and a params property. The type property is the AMD module identifier for the store class to be
58 // instantiated. The content of the params property is passed to the store class constructor to build an
59 // instance.
60 "stores": {
61 "repeatStore":{
62 "type": "dojo/data/ItemFileWriteStore",
63 "params": {
64 "url": "./resources/data/repeat.json"
65 }
66 }
67 },
68
69 // Models and their instantiation parameters. A model item is an object with three properties: the
70 // model type, the modelLoader and the params. The modelLoader property defines whether an MVC or a
71 // simple model must be loaded. The type property defines which class must be used for that model using
72 // an AMD module identifier and finally the params property content is passed to the model class
73 // constructor to build an instance.
74 "models": {
75 "repeatmodels": {
76 "modelLoader": "dojox/app/utils/mvcModel",
77 "type": "dojox/mvc/EditStoreRefListController",
78 "params":{
79 "datastore": {"$ref":"#stores.repeatStore"}
80 }
81 }
82 },
83
84 // The has section will include the sections for which the has checks are true.
85 // For the sections with ! it will include the section if the has check is not true.
86 "has" : {
87 "phone" : {
88 //The name(s) of the view(s) to load when the application is initialized.
89 "defaultView": "configuration"
90 },
91 "!phone" : {
92 "defaultView": "configuration+TestInfo"
93 },
94 "ie9orLess" : {
95 "controllers": [
96 "dojox/app/controllers/HistoryHash"
97 ]
98 },
99 "!ie9orLess" : {
100 "controllers": [
101 "dojox/app/controllers/History"
102 ]
103 }
104 },
105
106 // defaultTransition: The default animation type for the view transition.
107 // the defaultTransition is only used if transition is not set in the config and the transition is not set or
108 // defaulted on the transitionEvent
109 // These are the possible defaultTransitions,
110 //"defaultTransition": "slide",
111 //"defaultTransition": "none",
112 //"defaultTransition": "fade",
113 "defaultTransition": "flip", // Note: flip does not work with a BorderLayout Controller
114
115 // transition: The animation type to use for all view transitions.
116 // 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.
117 //"transition": "slide",
118
119 // views: The children views of an application or of a view. Dependencies may be defined on views for
120 // optimization and organization purposes. Models might also be defined on views if they are view-specific
121 // Finally a view item as three additional properties: transition for specific view transitions, template for
122 // defining the view rendering and finally controller to provide an AMD module to be mixed into the view to
123 // control it. AMD modules identifiers starting with “.” will be resolved relative to the application root. All other
124 // modules identifiers will be resolved according to the Dojo AMD loader rules and in particular with respect
125 // to its configuration provided as part of the loaderConfig attribute. If you do not want a controller
126 // module at all you should not specify one, setting it to none will no longer work.
127 "views": {
128 "navigation": {
129 "template": "scrollableTestApp/views/tablet/ViewScrollableLists.html",
130 "controller" : "scrollableTestApp/views/tablet/ViewScrollableLists.js",
131 "transition": "slide",
132 "constraint" : "left"
133 },
134 "configuration": {
135 "template": "scrollableTestApp/views/configuration/ScrollableListSelection.html",
136 "controller": "scrollableTestApp/views/configuration/ScrollableListSelection.js",
137 "has" : {
138 "phone" : {
139 "constraint" : "center"
140 },
141 "!phone" : {
142 "constraint" : "left"
143 }
144 }
145 },
146
147 "TestInfo": {
148 "transition": "none",
149 "controller": "scrollableTestApp/views/TestInfo.js",
150 "template": "scrollableTestApp/views/TestInfo.html"
151 },
152 "Scrollable1": {
153 "transition": "slide",
154 "controller": "scrollableTestApp/views/Scrollable1.js",
155 "template": "scrollableTestApp/views/Scrollable1.html"
156 },
157 "Scrollable1P": {
158 "controller": "scrollableTestApp/views/Scrollable1P.js",
159 "template": "scrollableTestApp/views/Scrollable1P.html",
160 "transition": "flip",
161 "constraint" : "center"
162 },
163 "Scrollable2": {
164 "controller": "scrollableTestApp/views/Scrollable2.js",
165 "template": "scrollableTestApp/views/Scrollable2.html",
166 "transition": "fade",
167 "constraint" : "center"
168 },
169 "Scrollable3": {
170 "controller": "scrollableTestApp/views/Scrollable3.js",
171 "template": "scrollableTestApp/views/Scrollable3.html",
172 "constraint" : "center"
173 },
174 "Scrollable4": {
175 "controller": "scrollableTestApp/views/Scrollable4.js",
176 "template": "scrollableTestApp/views/Scrollable4.html",
177 "constraint" : "center"
178 },
179 "Scrollable5": {
180 "controller": "scrollableTestApp/views/Scrollable5.js",
181 "template": "scrollableTestApp/views/Scrollable5.html"
182 },
183 "ListItemDomButtons": {
184 "controller": "scrollableTestApp/views/ListItem-domButtons",
185 "template": "scrollableTestApp/views/ListItem-domButtons.html",
186 "constraint" : "center"
187 },
188 "ListItemDomButtons2": {
189 "template": "scrollableTestApp/views/ListItem-domButtons2.html",
190 "constraint" : "center"
191 },
192
193 "repeatDetails": {
194 "controller": "scrollableTestApp/views/repeatDetails.js",
195 "template": "scrollableTestApp/views/repeatDetails.html",
196 "transition": "slide",
197 "constraint" : "center"
198 }
199 }
200 }