Hi aurelien and Kelly St. Jhon,
I solved my problem changing a compatibility issue I had. *Compatibility
note: The syntax differs from 0.5, which required curly brackets ({{}})
around the event handler name.*
Now my code looks like this:
<img class="card"
style="background-color: lightgray;"
preload src$="{{getImagePath(item.gsx$filename.$t)}}"
on-click="onCardClick">
Polymer({
is:"my-portfolio",
...
},
onCardClick: function(){
console.log("Card Clicked:");
},
ready: function() {
}
});
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/9515a69d-a4ce-40f3-820e-6a87b9d6d7d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.