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.

138 lines (126 loc) 3.64 kB
{ "id": "mediaQueryLayoutApp", "name": "mediaQuery Layout App", "description": "A mediaQuery Layout App", "splash": "splash", "loaderConfig": { "paths": { "mediaQueryLayoutApp": "../dojox/app/tests/mediaQueryLayoutApp" } }, "dependencies": [ "dojox/mobile/_base", "dojox/mobile/compat", "dojox/mobile/TabBar", "dojox/mobile/RoundRect", "dojox/mobile/TabBarButton", "dojox/mobile/Button", "dojox/mobile/RoundRect", "dojox/mobile/Heading", "dojox/mobile/ScrollableView", "dojo/store/Memory", "dojox/mobile/View", "dojox/mobile/EdgeToEdgeStoreList", "dojox/app/utils/simpleModel", "dojo/store/Observable", "dojox/mobile/DatePicker", "dojox/mobile/Opener", "dojox/app/widgets/Container" ], "modules": [], "controllers": [ "dojox/app/controllers/Load", "dojox/app/controllers/Transition", "dojox/app/tests/mediaQueryLayoutApp/controllers/CssLayout" ], //stores we are using "stores": { "namesStore":{ "type": "dojo/store/Memory", "params": { "data": "modelApp.names" } }, "listStore":{ "type": "dojo/store/Memory", "observable": true, "params": { "data": "modelApp.listData" } } }, // The has section will include the sections for which the has checks are true. // For the sections with ! it will include the section if the has check is not true. "has" : { "ie9orLess" : { "controllers": [ "dojox/app/controllers/HistoryHash" ] }, "!ie9orLess" : { "controllers": [ "dojox/app/controllers/History" ] } }, //the name of the view to load when the app is initialized. "defaultView": "header+navigation+TestInfo", // these are the possilbe defaultTransitions "defaultTransition": "slide", //"defaultTransition": "none", //"defaultTransition": "fade", //"defaultTransition": "flip", "transition": "flip", "views": { "navigation":{ "constraint" : "left", "template": "mediaQueryLayoutApp/views/navigation.html" }, "TestInfo": { "controller" : "mediaQueryLayoutApp/views/TestInfo.js", "constraint" : "center", "template": "mediaQueryLayoutApp/views/TestInfo.html" }, "centerNavigation":{ "controller" : "mediaQueryLayoutApp/views/centerNavigation.js", "constraint" : "center", "template": "mediaQueryLayoutApp/views/centerNavigation.html" }, "header":{ "controller" : "mediaQueryLayoutApp/views/header.js", "constraint" : "top", "template": "mediaQueryLayoutApp/views/header.html" }, "simple":{ "models": { "names": { "modelLoader": "dojox/app/utils/simpleModel", "params":{ "store": {"$ref":"#stores.namesStore"} } } }, "controller" : "mediaQueryLayoutApp/views/simple/simple.js", "constraint" : "center", "template": "mediaQueryLayoutApp/views/simple/simple.html", "dependencies":["dojox/mobile/TextBox"] }, //list view, include list view and details view "listMain":{ "controller" : "mediaQueryLayoutApp/views/list/list.js", "template": "mediaQueryLayoutApp/views/list/list.html", "dependencies":["dojox/mobile/TextBox"] }, "itemDetails":{ "controller" : "mediaQueryLayoutApp/views/list/itemDetails.js", "template": "mediaQueryLayoutApp/views/list/itemDetails.html", "dependencies":["dojox/mobile/TextBox"], "defaultParams": {"cursor":"2"} }, "date": { "controller": "mediaQueryLayoutApp/views/date/date.js", "template": "mediaQueryLayoutApp/views/date/date.html", "dependencies":["dojox/mobile/TextBox", "dojox/mobile/TextArea"] } } }