Can I binding data to a.href or other attribute
Opened this issue · 1 comments
wangkerui commented
How can I replace text 'link-url' by data-binding?
way.set("link-text", "this is a link");
way.set("link-url", "http://this.is.a.url/");
<a href="link-url" way-data="link-text"></a>
I expects:
<a href="http://this.is.a.url" way-data="link-text">this is a link</a>
but actually it renders
<a href="link-url" way-data="link-text">this is a link</a>
wangkerui commented