On Tuesday, August 11, 2015 at 7:46:27 PM UTC+2, Escobita wrote:
>
> 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() {
> }
> });
>
Thanks for the sharing, I will try to integrate some to a website :-)
AD
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/89bd70f2-93a3-4709-9abf-61e69e083f25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.