Tutorial by Examples: dojo

Dojo provides us various themes like tundra, claro etc. Load themes using link tag in your HTML page pointing to Google CDN.
In Below sample we are creating one global javascript object dojoConfig which will contain all the configuration values. Note: dojoConfig is defined in a script block before dojo.js is loaded. This is of paramount importance—if reversed, the configuration properties will be ignored. <script...
The esri.css file does not include the CSS for various Dojo widgets or themes like tundra or claro; those files must be included separately. Exceptions are the Grid and RangeSlider, which are used by widgets in the API. Grid styles must be explicitly included. For instance, this CSS file would be i...
In the next example, let's use Dojo features and understand what AMD ( Asynchronous Module Definition) means. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Tutorial: Hello Dojo!</title> </head> <body> <h1 ...

Page 1 of 1