So I guess this is related 
to 
https://www.polymer-project.org/1.0/docs/devguide/events.html#annotated-listeners

I'm just a bit surprised that polymer (?) is stripping out the 'on-click' 
attributes when it processes the template, at least that is what I assume 
is happening.

Up until now it has been fairly easy to see how a web app works using just 
the browser dev tools, things like this will make debugging mis-behaving 
apps a lot more 'interesting'.

On Thursday, 9 July 2015 13:04:01 UTC+1, Robert Stone wrote:
>
> So we can see the handlers being added in the github version, just not on 
> the live page
>
>
> https://github.com/PolymerElements/neon-animation/blob/master/demo/declarative/index.html
>
> On Thursday, 9 July 2015 11:37:53 UTC+1, Robert Stone wrote:
>>
>> I've been taking a look at the neon animation demos and can understand 
>> most of it, however I'm missing something with the declarative one:
>>
>>
>> http://morethanreal.github.io/neon-animation-demo/bower_components/neon-animation/demo/declarative/index.html
>>
>> I can't see where the _onPrevClick/_onNextClick functions are getting 
>> bound to the relevant buttons leaving me to assume that some sort of magic 
>> is taking place ;)
>>
>> Anyone care to point out the (not so) obvious ?
>>
>

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/0ecf8d1c-8e0d-4727-bb75-bcfb6f5c9145%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to