Attribute tags for Oz.
Using component:
$ component install treygriffith/oz-attr
Using a script tag (UMD compatible)
<script src="./oz-attr.min.js"></script>
Bind an attribute's value to the value of the named property.
Notation:
<img oz-attr="src:photo.jpg;class:avatar"></div>
Example:
var context = {
imageUrl: "https://www.google.com/images/srpr/logo11w.png"
};
<img oz-attr="src:imageUrl" src="https://www.google.com/images/srpr/logo11w.png">
MIT