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.

22 lines (13 loc) 484 B
dojo.require("dojox.mobile.app.SceneAssistant"); dojo.declare("MainAssistant", dojox.mobile.app.SceneAssistant, { setup: function(){ console.log("In main assistant setup"); var appInfoNode = this.controller.query(".appInfoArea")[0]; appInfoNode.innerHTML = "This app has the following info: \n" + dojo.toJson(dojox.mobile.app.info, true) }, activate: function(){ console.log("In main assistant activate"); } });