dijit._Templated.getCachedTemplate
dojo.require("dijit._Templated");
defined in dijit/_Templated.js
Static method to get a template based on the templatePath or
parameter | type | description |
---|---|---|
templatePath | String | The URL to get the template from. dojo.uri.Uri is often passed as well. |
templateString | String | Optional. a string to use in lieu of fetching the template from a URL. Takes precedence over templatePath Returns: Mixed Either string (if there are ${} variables that need to be replaced) or just a DOM tree (if the node can be cloned directly) |
alwaysUseString |