EvolvedWeb / evowc

Evolved Web Components
MIT License
8 stars 0 forks source link

Support basic interpolation in an attribute. #90

Open intervalia opened 6 months ago

intervalia commented 6 months ago

Describe the solution you'd like Se need to support basic interpolation for values in an attribute.

<img :alt="Picture of {name}" /> where {name} is replaced with the current value of the CPA named name.

This needs to handle multiple {} in one attribute value: <img :alt="Picture of {name} on {date}" />

This version will only support CPAs. It will not support pipes, functions, nor expressions.