dojo/dom-prop

Project owner:Eugene Lazutkin
since:V1.7

This module defines the core dojo DOM properties API. The convention for the return variable for this module is domProp.

Features

AMD Features

Legacy features are set in dojo/_base/html.

Examples

The following is an example of how to retrieve the foo property of a DOM node.

require(["dojo/dom-prop"], function(domProp){
  var propValue = domProp.get("myNode", "foo");
});

See also

API Reference: dojo.dom-prop

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