Skip to content

v.0.9.9 - Native tags in attributes

Compare
Choose a tag to compare
@wrabit wrabit released this 22 Jun 09:10
· 483 commits to main since this release

What's Changed

Using template variables in attributes

Cotton now allows you to include template variables inside attributes.

<c-weather icon="fa-{{ icon }}"
           unit="{{ unit|default:'c' }}"
           condition="very {% get_intensity %}"
/>

Full Changelog: v.0.9.7...v.0.9.8