Client Side Template



Escapes {} characters

The '{' and the '}' characters in a template indicate placeholders for merged data. If you want to explicitly output either of these characters you can escape them using a leading backslash. Assume that the data you pass to the template expander is:

{firstname: 'Fred'}

Assume that you want the output from the template to be {Fred} You would define your template as: