Functiondijit._Templated.getCachedTemplate

dojo.require("dijit._Templated");
defined in dijit/_Templated.js

Static method to get a template based on the templatePath or

Usage

function (/*String*/ templatePath, /*String?*/ templateString, alwaysUseString) (view source)
parametertypedescription
templatePathStringThe URL to get the template from. dojo.uri.Uri is often passed as well.
templateStringStringOptional. 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