Dojo layout

Dojo uses its own framework to control the layout of the application. Dojo's layouts can be found in the dijit/layout modules. These modules can be used to implement full page applications with all their features implemented, by using the Dojo framework.

Dijits created with dijit/layout modules can be encoded directly in the HTML. These are encoded using the data-dojo-type attribute. Properties for these, including styling and behavior, are encoded in the data-dojo-props attribute of the element. These dijits can be loaded from HTML by using the dojo/parser module to parse the HTML.

Tip

Applications where the dijit/layout elements are loaded through HTML often break when dojo/parser doesn't have access to a layout module. Make sure that ...

Get Mastering ArcGIS Server Development with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.