dojo/_base¶
Contents
dojo/_base contains what formerly constituted the “base” of Dojo when you required in dojo/dojo.js
into your
project. Currently, this is not entirely accurate and dojo/_base
contains a mixture of configuration modules,
limited amounts of functionality that haven’t been moved out to the Dojo Core and a lot of “stubs” which add “base”
functionality to Dojo when it is running in legacy mode.
If you run dojo/dojo.js
in async mode (async: true
) then the loader will only load the modules as they are
needed. Also, if you do a custom build, what modules and when they are loaded are dependent upon how Dojo is built.
If you run in “legacy” mode, then the APIs that are part of the Dojo Base are automatically loaded and made available.
Modules¶
-
Array handling functions
dojo/_base/browser
This module causes the browser-only base modules to be loaded.
-
Functions for setting colors.
-
Allows developers to override certain global settings that control how the toolkit operates.
-
Contains functions for connecting methods to events
-
Contains functions to define classes
-
Functions and classes for managing communication between asynchronous threads (callbacks).
-
Functions to handle DOM events.
-
Basic animation functions.
-
Module defines aliases to basic DOM and HTML functions, designed for backwards compatibility.
-
Contains functions for dealing with JSON data.
-
Defines some key parts of the Dojo API.
-
Contains functions supporting polymorphism and other basic Dojo language features.
-
Module defines deprecated symbols for loading.
-
Contains the syntactic sugar for chaining, common iteration operations, animation and node manipulation.
-
Deprecated The swiss army knife of DOM node manipulation in Dojo. Moved to dojo/query.
-
Used for browser feature detection, deprecated and moved to dojo/sniff.
-
Defines functions related to dealing with unloading document lifecycle.
-
Defines the
dojo/_Url
object for handling and manipulation of URLs. -
Contains functions for dealing with document wide DOM and context related features.
-
Deprecated The core AJAX I/O transports and utility methods for Dojo. New code should use dojo/request.