{{#default}}
can.stache.helpers.default
{{#default}}BLOCK{{/default}}
Renders the BLOCK
if no {{#case expr}} blocks within the switch resolved.
Parameters
-
BLOCK
{can.stache(template)}
a template to be rendered.
Returns
{DocumentFragment}
A fragment, containing the rendered block.
The
default
helper is contextual inside of a {{#switch expr}} block. It acts as a fall-through in case none of the {{#case expr}} helpers resolved.For more information on how
{{#default}}
is used check: