dojox.app.view

since:V1.7

dojox.app.view provides a view like dojox.mobile.View. It contains a template string which will be rendered with user defined template segments. A view should have no child view.

Sample

Sample application configuration for dojox.app.view

"home": {
  "type": "dojox.app.view",
  "dependencies":["dojox/mobile/RoundRectList", "dojox/mobile/ListItem"],
  "template": "views/simple/home.html"
}

dojox.app.view sample template - views/simple/home.html

<div style="background:#c5ccd3;width: 100%; height: 100%;"  class="view mblView">
  <div data-dojo-type="dojox.mobile.RoundRect" shadow="true">
    This is the content of the home scene. Hello World.
  </div>
</div>

Sample render result

../../_images/pic.png

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!