dijit.layout.ContentPane.setContent
dojo.require("dijit.layout.ContentPane");
defined in dijit/layout/ContentPane.js
Replaces old content with data content, include style classes from old content
parameter | type | description |
---|---|---|
data | String|DomNode | the new Content may be String, DomNode or NodeList if data is a NodeList (or an array of nodes) nodes are copied so you can import nodes from another document implicitly |