Closed ozasadnyy closed 8 years ago
Hello. Thanks for the amazing element, I like it! But I have an issue, I can't bind dynamic value into <paper-icon-button></paper-icon-button> Here is my code:
<paper-icon-button></paper-icon-button>
<template is="dom-repeat" items="[[person.socials]]" as="social"> <a href="[[social.link]]" target="_blank"> <paper-icon-button icon="[[social.icon]]"></paper-icon-button> </a> </template>
JSON for person object:
{ "id": 2, "name": "Just Name", "socials": [{ "icon": "app-icons:gplus", "link": "https://plus.google.com" }, { "icon": "app-icons:twitter", "link": "https://twitter.com" }, { "icon": "app-icons:facebook", "link": "https://facebook.com" }] }
app-icons - it's my custom collection and works without binding,
app-icons
Is this still reproducible? Please re-open with a reproducible jsbin (see https://github.com/PolymerElements/paper-icon-button/blob/master/CONTRIBUTING.md for an example to get you started)
Hello. Thanks for the amazing element, I like it! But I have an issue, I can't bind dynamic value into
<paper-icon-button></paper-icon-button>
Here is my code:JSON for person object:
app-icons
- it's my custom collection and works without binding,