Hide Table of Contents
esri
esri/arcgis
esri/dijit
esri/dijit/analysis
esri/dijit/geoenrichment
esri/dijit/geoenrichment/ReportPlayer
esri/geometry
esri/layers
esri/renderers
esri/symbols
esri/tasks
esri/tasks/datareviewer
esri/tasks/geoenrichment
esri/tasks/locationproviders
require(["esri/domUtils"], function(domUtils) { /* code goes here */ });
esri.show().| Name | Type | Summary |
|---|---|---|
| documentBox | Object | Represents the size of the client side window or document at first load. |
| Name | Return type | Summary |
|---|---|---|
| getNode(target) | Node | Returns the DOM node from HTMLElement or dijit/_WidgetBase. |
| hide(target) | None | Hides the HTMLElement or dijit/_WidgetBase. |
| show(target) | None | Shows the HTMLElement or dijit/_WidgetBase. |
| toggle(target) | None | If the target (HTMLElement or dijit/_WidgetBase) is currently visible, the target is hidden. |
Object> documentBoxw (width) and h (height) properties, and these do not change on window resize.HTMLElement or dijit/_WidgetBase. (Added at v3.13)Node<> target |
Required | The HTMLElement or dijit/_WidgetBase to retrieve. |
require([
"esri/domUtils", ...
], function(domUtils, ... ) {
var node = domUtils.getNode(myHTMLElement);
...
});
HTMLElement or dijit/_WidgetBase.<> target |
Required | The HTMLElement or dijit/_WidgetBase. |
require([
"esri/domUtils", ...
], function(domUtils, ... ) {
domUtils.hide(myTable);
// or
domUtils.hide(widget);
...
});
HTMLElement or dijit/_WidgetBase.<> target |
Required | The HTMLElement or dijit/_WidgetBase. |
require([
"esri/domUtils", ...
], function(domUtils, ... ) {
domUtils.show(myDiv);
// or
domUtils.show(widget);
...
});
target (HTMLElement or dijit/_WidgetBase) is currently visible, the target is hidden. If the target is hidden, it becomes visible.<> target |
Required | The HTMLElement or dijit/_WidgetBase. |
require([
"esri/domUtils", ...
], function(domUtils, ... ) {
domUtils.toggle(myDiv);
...
});