Functiondijit.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

Usage

function (/*String|DomNode*/ data) (view source)
parametertypedescription
dataString|DomNodethe 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