Allows you to define and remap/override partials on a model (
JStache)
{{> name }}
. Name in this case is defined by name() and would be the logical name
of the partial. The physical definition of the partial is defined with a resource
path() or inlined template().
The path() is still expanded by JStachePath if present.
- Author:
- agentgt
- API Note
- While this annotation looks like
JStachethere is no associated model with a partial.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
name
The logical name of the template.- Returns:
- required name of template
-
-
-
path
The physical path of the template. If emptytemplate()will be used.- Returns:
- the physical resource path of the template.
- See Also:
- Default:
- ""
-
template
Inline template. If not setpath()will be used. If path is not set then the template will be an empty string.- Returns:
- inlined template by default returns empty string which means not set.
- Default:
- ""
-