The documentation seems to be wrong. Running the code indicated in the documents, I get the following error:
Uncaught Error: Parse error on line 4: ... <img {{bind-attr =logoUrl}} alt="Lo -----------------------^ Expecting 'CLOSE', 'STRING', 'INTEGER', 'BOOLEAN', 'ID', 'SEP'
Running the code, as you would expect, would look great. You need to specify the appropriate attribute:
<div id="logo"> <img {{bind-attr src=logoUrl}} alt="Logo"> </div>
Here's a working example (remove the attribute name and find the error in the console).
James allardice
source share