UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

128 lines (119 loc) 3.45 kB
{ "id": "longListTestApp", "name": "Scrollable Test App", "description": "This is a test app for scrollable lists.", "splash": "splash", "loaderConfig": { "paths": { "longListTestApp": "../dojox/app/tests/longListTestApp" } }, "dependencies": [ "dojox/mobile/_base", "dojox/mobile/_compat", "dojox/mobile/Button", "dojox/mobile/Heading", "dojox/mobile/ListItem", "dojox/mobile/RoundRectList", "dojox/mobile/RoundRectCategory", "dojox/mobile/EdgeToEdgeStoreList", "dojox/mobile/LongListMixin", "dojox/mobile/TabBar", "dojox/mobile/TabBarButton", "dojox/app/widgets/Container", "dojo/store/Memory", "dojo/store/Observable", "dojox/mobile/ScrollableView" ], // Modules for the application. They are basically used as the second // array of mixins in a dojo.declare(). Modify the top level behavior // of the application, how it processes the config or any other life cycle // by creating and including one or more of these "modules": [ "longListTestApp/longListTestApp" ], "controllers": [ "dojox/app/controllers/Load", "dojox/app/controllers/Transition", "dojox/app/controllers/Layout" ], //stores we are using "stores": { "longlistStore":{ "type": "dojo/store/Memory", "observable": true, "params": { "data": "modelApp.list" } } }, "has" : { "phone" : { "defaultView": "Footer1,Header1,LongList1" }, "!phone" : { "template": "longListTestApp/views/tablet/ViewScrollableLists.html", "controller": "longListTestApp/views/tablet/ViewScrollableLists", "defaultView": "Footer1,Header1,LongList1" }, "ie9orLess" : { "controllers": [ "dojox/app/controllers/HistoryHash" ] }, "!ie9orLess" : { "controllers": [ "dojox/app/controllers/History" ] } }, // these are the possible transitions, // 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. "transition": "slide", //views are groups of views and models loaded at once "views": { "configuration": { "defaultView": "ScrollableListSelection", "transition": "slide", "views": { "ScrollableListSelection": { "controller": "longListTestApp/views/configuration/ScrollableListSelection.js", "template": "longListTestApp/views/configuration/ScrollableListSelection.html" } } }, "Footer1": { "controller": "longListTestApp/views/Footer1.js", "template": "longListTestApp/views/Footer1.html", "views": { "Header1": { "template": "longListTestApp/views/Header1.html", "controller": "longListTestApp/views/Header1.js", "views": { "TestInfo": { "transition": "none", "template": "longListTestApp/views/TestInfo.html", "controller": "longListTestApp/views/TestInfo.js" }, "LongList1": { "template": "longListTestApp/views/LongList1.html", "controller": "longListTestApp/views/LongList1.js" }, "LongList3": { "template": "longListTestApp/views/LongList3.html", "controller": "longListTestApp/views/LongList3.js" } } } } }, "LongList2": { "controller": "longListTestApp/views/LongList2.js", "template": "longListTestApp/views/LongList2.html" }, "LongList4": { "controller": "longListTestApp/views/LongList4.js", "template": "longListTestApp/views/LongList4.html" } } }