goog.soy.Renderer |
opt_injectedDataSupplier
: goog.soy.InjectedDataSupplier=
A supplier
that provides an injected data.
|
opt_domHelper
: goog.dom.DomHelper=
Optional DOM helper;
defaults to that provided by
goog.dom.getDomHelper() . |
Creates the injectedParams map if necessary and calls the configuration
service to prepopulate it.
Returns: Object
The injected params.
|
code » | ||||
![]()
No description.
Returns: !goog.soy.Renderer.SavedTemplateRender
Saved template data for
the renders that have happened so far.
|
code » | ||||
![]()
Observes rendering of templates by this renderer.
Arguments:
|
code » | ||||
Renders a Soy template and returns the output string.
If the template is strict, it must be of kind HTML. To render strict
templates of other kinds, use
renderText (for kind="text" ) or
renderStrict .
|
code » | ||||
Renders a Soy template into a single node. If the rendered HTML
string represents a single node, then that node is returned.
Otherwise, a DIV element is returned containing the rendered nodes.
Delegates to
goog.soy.renderAsElement .
|
code » | ||||
Renders a Soy template into a single node or a document fragment.
Delegates to
goog.soy.renderAsFragment .
|
code » | ||||
![]()
Renders a Soy template and then set the output string as the
innerHTML of the given element. Delegates to
goog.soy.renderElement .
|
code » | ||||
Renders a strict Soy template of kind="html" and returns the result as
a goog.html.SafeHtml object.
Rendering a template that is not a strict template of kind="html" results in
a runtime error.
Arguments:
|
code » | ||||
![]()
Renders a strict Soy template and returns the output SanitizedContent object.
Arguments:
Returns: RETURN_TYPE
The SanitizedContent object. This return type is
generic based on the return type of the template, such as
soy.SanitizedHtml.
|
code » | ||||
Renders a strict Soy template of kind="text" and returns the output string.
It is an error to use renderText on non-strict templates, or strict templates
of kinds other than "text".
|
code » | ||||
![]()
Saves information about the current template render for debug purposes.
Arguments:
|
code » |
![]()
No description.
|
Code » |