Create <a> tag

edited March 2012 in Enyo 2
I'm struggling to wrap an image in an tag:
{tag: "a", attributes: "href=\"www.google.com\"", components: [
    {name: "pinButton", kind: "Image", src: "pin.png", classes: "button hidden"}
]}
This parses each character as an individual attribute. Any tips?

Comments

Sign In or Register to comment.