dojo/dom¶
Project owner: | Eugene Lazutkin |
---|---|
since: | V1.7 |
This module defines the core Dojo DOM API. The standard return variable for this module is dom
.
Features¶
AMD Features¶
-
Returns DOM node with matching
id
attribute ornull
if not found. Ifid
is a DomNode, this function is a no-op. dom.isDescendant
Returns true if node is a descendant of ancestor
dom.setSelectable
Enable or disable selection on a node
Legacy features are set in dojo/_base/html.
See also¶
- dojo/dom-attr - DOM attribute API
- dojo/dom-class - Dojo DOM Class API
- dojo/dom-prop - DOM Property API
- dojo/dom-style - DOM Style API
- dojo/_base/html - Legacy API aliases
API Reference: dojo.dom