by Before Semicolon

<log/>

log tag details
Details
name log
type tag
attributes value
description A tag that will render to template and log to the console the value provided.

Attributes

value
type: attribute, executed : A variable or attribute which value can be any javascript object or primitive.

Inner content

Anything placed inside the tag will be bind and used as the label for the log.

Usage Examples

Use the $context value to log the current context data at a specific point of the template.

<log value="$context"></log>

Log full or partial part of the current data.

<log value="$data"></log>
<log value="$data.list"></log>

Log variable.

<variable name="filteredList" value="$data.list.filter(x => x.price > 10)"></variable>

<log value="filteredList"></log>