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
It would be what the ForAttributeParser already is, except it would allow expression modifiers and keys/indexes. Ultimately this would replace the for attribute in some future release where I feel like breaking backwards compatibility.
A simple example:
<divdata-htmt-foreach="posts as post">
...
</div>
With key/index:
<divdata-htmt-foreach="posts as key, post">
...
</div>
And with modifiers:
<divdata-htmt-foreach="posts | reversed as key, post">
...
</div>
The text was updated successfully, but these errors were encountered:
It would be what the
ForAttributeParser
already is, except it would allow expression modifiers and keys/indexes. Ultimately this would replace thefor
attribute in some future release where I feel like breaking backwards compatibility.A simple example:
With key/index:
And with modifiers:
The text was updated successfully, but these errors were encountered: