Self-Closing Helpers

Basic Syntax

{{helpername(params)/}}

Examples

{{log("Hi! The index is: " + @index)/}}

The log helper is a native, self-closing helper that's built in to Squirrelly. It turns into a console.log function that logs to the console every time the template is rendered.

The loghelper can be very useful for debugging.

‚Äč