You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2022. It is now read-only.
Lukas Jans edited this page Feb 21, 2019
·
1 revision
Instead of passing an object with properties to the renderer, you can also use other types of data.
Scalars
If you pass a scalar directly to the renderer, it can only be referenced using the local context:
Elements.render('A {{.}} C','B');
A B C
Arrays
When an array is passed directly to the renderer, the whole template will be repeated and rendered for each item in the array. Like usual, the items can be scalars or other types of data.