My template is this one below, and I'd like to use a list of html as parameter
{template .myTemplate}
{@param title: string}
{@param? listHtml: list<html>}
<ul>
{foreach $item in $listHtml}
<li>
<a>{$item}</a>
</li>
{/foreach}
</ul>
{/template}
My problem is that I don't know how to pass a list of html elements as parameter when I call the template.
{call desktop.common.myTemplate }
{param title: 'Contact us' /}
{param listHtml kind="html" }
????
{/param}
{/call}
How about breaking out a helper template:
Which pushes iteration to the caller, where I assume the list of items is static: