Guide › Templates

Holes

{ } holes print the value of a JavaScript expression, always escaped.

<p>{{ user.name }} has {{ items.length }} items.</p>
<p>{{ count > 1 ? 'many' : 'one' }}</p>

null and undefined print nothing. HTML in a value is shown as text, never as markup. To show the characters { and } themselves, see Verbatim.