Consider I have two iron pages "page-a" and "page-b". The situation I ran
into is, does not matter in which ever page(which are of course components
and have their own script) I write a method, if I have a method with same
name on another page, then invoking the method from any page does not
invoke context's own method. Such examples are observers, ironajax event
handling, etc.
<more-route-selector>
<iron-pages>
<section>
<page-a></page-a>
</section>
<section>
<page-b></page-b>
</section>
</more-route-selector>
And lets consider that on both page-a and page-b I have a method like this -
_handleResponse: function(event){
}
And I used this method to handle ironajax response. But when I am invoking
ironajax request from page-b, then result is not ending up on page-b's
*_handleResponse* method, but ending up on page-a's *_handleResponse*
method.
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/2a567dfd-43d9-4055-b3fc-a9b340109e1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.