-
Couldn't load subscription status.
- Fork 12
Open
Description
Proposal:
Add an <each> tag that functions similar to the dual <if>, which can be used as an attribute or as its own node. each would take a single attribute, condition.
Syntax:
<each condition="item in list">
<span>{item}</span>
</each>Reason:
<div each="item in list" if="true">{$value}</div> has two different potential meanings:
<each condition="item in list">
<if condition="true">{$value}</if>
</each>and
<if condition="true">
<each condition="item in list">{$value}</each>
</if>however, only the latter example is possible with the current syntax.
davidjamesstone and alexsad
Metadata
Metadata
Assignees
Labels
No labels