Only private and/or inherited constructors are available.
A registry to make contextual calling/searching easier.
Returns an animation that will transition the properties of node defined in ‘args’ depending how they are defined in ‘args.properties’
takes a named string, hex string, array of rgb or rgba values, an object with r, g, b, and a properties, or another dojo.Color object
Encapsulates a sequence of callbacks in response to a value that may not yet be available. This is modeled after the Deferred class from Twisted <http://twistedmatrix.com>.
dojo.DeferredList(list, fireOnOneCallback, fireOnOneErrback, consumeErrors, canceller)
Provides event handling for a group of Deferred objects.
signal fired when initial environment and package loading is complete. You may use dojo.addOnLoad() or dojo.connect() to this method in order to handle initialization tasks that require the environment to be initialized. In a browser host, declarative widgets will be constructed when this function finishes runing.
dojo.NodeList is as subclass of Array which adds syntactic sugar for chaining, common iteration operations, animation, and node manipulation. NodeLists are most often returned as the result of dojo.query() calls.
A generic animation class that fires callbacks into its handlers object at various states. Nearly all dojo animation functions return an instance of this method, usually without calling the .play() method beforehand. Therefore, you will likely need to call .play() on instances of dojo._Animation when one is returned.
dojo._Line is the object used to generate values from a start value to an end value
Constructor to create an object representing a URL. It is marked as private, since we might consider removing or simplifying it.
Internal xd loader function. Clears the interval timer used to check on the status of in-flight xd module resource requests.
Internal xd loader function. Resets the xd state.
Internal xd loader function. Monitors in-flight requests for xd module resources.
In addition to the properties listed for the dojo._IoArgs type, the following properties are allowed for dojo.xhr* methods.
Only private and/or inherited functions are available.
Adds the specified classes to the end of the class list on the passed node.
Registers a function to be triggered after the DOM has finished loading and widgets declared in markup have been instantiated. Images and CSS files may or may not have finished downloading when the specified function is called. (Note that widgets’ CSS and HTML code is guaranteed to be downloaded before said widgets are instantiated.)
registers a function to be triggered when the page unloads
dojo.anim(node, properties, duration, easing, onEnd, delay)
A simpler interface to dojo.animateProperty(), also returns an instance of dojo._Animation but begins the animation immediately, unlike nearly every other Dojo animation API.
Gets or sets an attribute on an HTML element.
blend colors end and start with weight from 0 to 1, 0.5 being a 50/50 blend, can reuse a previously allocated dojo.Color object for the result
Return the body element of the document return the body object associated with dojo.doc
Returns DOM node with matching id attribute or null if not found, similar to "$" function in another library. If id is a DomNode, this function is a no-op.
Clones objects (including DOM nodes) and all children. Warning: do not clone cyclic structures.
builds a color from 1, 2, 3, or 4 element array
converts a hex string with a ‘#’ prefix to a color object. Supports 12-bit #rgb shorthand.
get rgb(a) array from css-style color declarations
parses str for a color value.
Create a link that calls one function when another executes.
Ensure that everytime obj.event() is called, a message is published on the topic. Returns a handle which can be passed to dojo.disconnect() to disable subsequent automatic publication on the topic.
Getter/setter for the content-box of node.
Returns an object that measures margin box width/height and absolute positioning data from dojo._abs().
Create a feature-rich constructor from compact notation
Log a debug message to indicate that a behavior has been deprecated.
Remove a link created by dojo.connect.
Perform an evaluation in the global scope. Use this rather than calling ‘eval()’ directly.
Determines whether or not every item in arr satisfies the condition implemented by callback.
determine if an object supports a given method
Marks code as experimental.
Adds all properties and methods of props to constructor’s prototype, making them available to all instances created with
Returns an animation that will fade node defined in ‘args’ from its current opacity to fully opaque.
Returns an animation that will fade node defined in ‘args’ from its current opacity to fully transparent.
Returns a new Array with those items from arr that match the condition implemented by callback.
normalizes properties on the event object including event bubbling methods, keystroke normalization, and x/y positions
for every item in arr, callback is invoked. Return values are ignored.
return a serialized JSON string from a form node or string ID identifying the form to serialize
dojo.formToObject returns the values encoded in an HTML form as string properties in an object which it then returns. Disabled form elements, buttons, and other non-value form elements are skipped. Multi-select elements are returned as an array of string values.
Returns a URL-encoded string representing the form passed as either a node or string ID identifying the form to serialize
Parses a
JSON string to return a JavaScript object.
Returns a "computed style" object.
Get a property from a dot-separated string, such as "A.B.C"
Returns true if the requested attribute is specified on the given element, and false otherwise.
Returns whether or not the specified classes are a portion of the class list currently applied to the node.
Returns a function that will only ever execute in the a given scope. This allows for easy use of object member functions in callbacks and other places in which the "this" keyword may otherwise not reference the expected scope. Any number of default positional arguments may be passed as parameters beyond "method". Each of these values will be used to "placehold" (similar to curry) for the hitched function.
locates the first index of the provided value in the passed array. If the value is not found, -1 is returned.
Returns true if it is a built-in function or some other kind of oddball that should report as a function but doesn’t
Return true if it is an Array
similar to dojo.isArray() but more permissive
Returns true if node is a descendant of ancestor
Return true if it is a Function
Returns true if it is a JavaScript object (or an Array, a Function or null)
Return true if it is a String
locates the last index of the provided value in the passed array. If the value is not found, -1 is returned.
applies callback to each element of arr and returns an Array with the results
Getter/setter for the margin-box of node.
Adds all properties and methods of props to obj and returns the (now modified) obj.
Returns a dojo._Url object relative to a module.
takes a name/value mapping object and returns a string representing a URL-encoded version of that object.
similar to hitch() except that the scope object is left to be whatever the execution context eventually becomes.
Attempt to insert node into the DOM, choosing from various positioning options. Returns true if successful, false otherwise.
require one or more modules based on which host environment Dojo is currently operating in
Each javascript source file must have at least one dojo.provide() call at the top of the file, corresponding to the file name. For example, js/dojo/foo.js must have dojo.provide("dojo.foo"); before any calls to dojo.require() are made.
Invoke all listener method subscribed to topic.
Returns nodes which match the given CSS3 selector, searching the entire document by default but optionally taking a node to scope the search by. Returns an instance of dojo.NodeList.
maps a module name to a path
Removes an attribute from an HTML element.
Removes the specified classes from node.
loads a Javascript module from the appropriate URI
If the condition is true then call dojo.require() for the specified resource
Declares translated resources and loads them if necessary, in the same style as dojo.require. Contents of the resource bundle are typically strings, but may be any name/value pair, represented in JSON format. See also dojo.i18n.getLocalization.
changes the behavior of many core Dojo functions that deal with namespace and DOM lookup, changing them to work in a new global context (e.g., an iframe). The varibles dojo.global and dojo.doc are modified as a result of calling this function and the result of dojo.body() likewise differs.
Set a property from a dot-separated string, such as "A.B.C"
enable or disable selection on a node
Determines whether or not any item in arr satisfies the condition implemented by callback.
prevents propagation and clobbers the default action of the passed event
Accesses styles on a node. If 2 arguments are passed, acts as a getter. If 3 arguments are passed, acts as a setter.
Attach a listener to a named topic. The listener function is invoked whenever the named topic is published (see: dojo.publish). Returns a handle which is needed to unsubscribe this listener.
Adds a class to node if not present, or removes if present. Pass a boolean condition if you want to explicitly add or remove.
Returns a
JSON serialization of an object.
trims whitespaces from both sides of the string
signal fired by impending environment destruction. You may use dojo.addOnUnload() or dojo.connect() to this method to perform page/application cleanup methods.
dojo.withDoc(documentObject, callback, thisObject, cbArguments)
Call callback with documentObject as dojo.doc. If provided,
Call callback with globalObject as dojo.global and
Internal xd loader function. The xd version of dojo.requireLocalization.
Sends an HTTP request with the given method. If the request has an HTTP body, then pass true for hasBody. The method argument should be uppercase. Also look at dojo.xhrGet(), xhrPost(), xhrPut() and dojo.xhrDelete() for shortcuts for those HTTP methods. There are also methods for "raw" PUT and POST methods via dojo.rawXhrPut() and dojo.rawXhrPost() respectively.
Sends an HTTP DELETE request to the server.
Sends an HTTP GET request to the server.
Sends an HTTP POST request to the server.
Sends an HTTP PUT request to the server.
Gets the position of the passed element relative to the viewport (if includeScroll==false), or relative to the document root (if includeScroll==true). Returns an object of the form: { x: 100, y: 300 } if includeScroll is passed, the x and y values will include any document offsets that may affect the position relative to the viewport.
The default easing function for dojo._Animation(s)
removes node from its parent, clobbers it and all of its children.