dojox/dtl/_DomTemplated (version 1.10)

Summary

The base class for DOM-based templating.

See the dojox/dtl/_DomTemplated reference documentation for more information.

Property Summary

Method Summary

Properties

_dijitTemplateCompat

Methods

_getCachedTemplate(templatePath,templateString)
Parameter Type Description
templatePath undefined
templateString undefined
Returns:undefined | instance
_getContext(context)
Parameter Type Description
context undefined
Returns:string
buildRendering()

Constructs the DOM representation.

render(context,tpl)

Renders this template.

Parameter Type Description
context dojox/dtl/Context
Optional

The runtime context.

tpl dojox/dtl/DomTemplate
Optional

The template to render. Optional.

setTemplate(template,context)

Quickly switch between templated by location

Parameter Type Description
template String | dojo/url

The new template.

context dojox/dtl/Context
Optional

The runtime context.

Error in the documentation? Can’t find what you are looking for? Let us know!