Parameter | Type | Description |
---|---|---|
params | Object | |
node | String | DomNode |
See the dojox/html/_base._ContentSetter reference documentation for more information.
Adjust relative paths in html string content to point to this page Only useful if you grab content from a another folder than the current one
Should the content be treated as a full html document, and the real content stripped of , wrapper before injection
The content to be placed in the node. Can be an HTML string, a node reference, or a enumerable list of nodes
Should the content be treated as a full html document,
and the real content stripped of <html> <body>
wrapper before injection
Should the node by passed to the parser after the new content is set
Flag passed to parser. Root for attribute names to search for. If scopeName is dojo, will search for data-dojo-type (or dojoType). For backwards compatibility reasons defaults to dojo._scopeName (which is "dojo" except when multi-version support is used, when it will be something like dojo16, dojo20, etc.)
Start the child widgets after parsing them. Only obeyed if parseContent is true.
runs the dojo parser over the node contents, storing any results in this.parseResults and the parse promise in this.parseDeferred Any errors resulting from parsing are passed to _onError for handling
front-end to the set-content sequence
Parameter | Type | Description |
---|---|---|
cont | String | DomNode | NodeList |
Optional An html string, node or enumerable list of nodes for insertion into the dom If not provided, the object's content property will be used |
params | Object |
Optional
|
shows user the string that is returned by on[type]Error override/implement on[type]Error and return your own string to customize
Parameter | Type | Description |
---|---|---|
type | undefined | |
err | undefined | |
consoleText | undefined |
Called after instantiation, but before set(); It allows modification of any of the object properties - including the node and content provided - before the set operation actually takes place This implementation extends that of dojo.html._ContentSetter to add handling for adjustPaths, renderStyles on the html string content before it is set
Called after set(), when the new content has been pushed into the node It provides an opportunity for post-processing before handing back the node to the caller This implementation extends that of dojo.html._ContentSetter