key

  • typedef
can.mustache.key

{String}

 

A key references a value within the current context of a template being rendered. In the following example, the key is name:

String

<h1>{{name}}</h1>

If this template is rendered with:

{
  name: "Austin"
}

The template writes out:

<h1>Austin</h1>