I don't know if every body finds this site down https://www.polymer-project.org <https://www.polymer-project.org/1.0/docs/devguide/local-dom.html#node-finding> like i do. I have tried to access it for days now.
*Regards, * *Onyancha Chrispinus* Developer creativeDNA (U) LTD. <http://www.creativedna.co.ug> @Google Plus <https://plus.google.com/+ChrispinusOnyancha> , @LinkedIn <http://ug.linkedin.com/in/ChrispinusOnyancha>, @Tweeter <https://twitter.com/Chrisp_onyanx> <https://play.google.com/store/apps/details?id=com.creativeDNA.ntvuganda&rdid=com.creativeDNA.ntvuganda&rdot=1&feature=md> On Thu, Nov 5, 2015 at 8:10 AM, Chrispinus Onyancha < [email protected]> wrote: > Thanks So much this worked out for me. > Thanks once More. > > Another issue i have is uploading an image to Google App Engine BlobStore > using polymer iron-ajax element. It need a Cross Domain request Access > which is to be added by Google. Is there any way around this? > > > > > > > *Regards, * > > *Onyancha Chrispinus* > Developer > creativeDNA (U) LTD. <http://www.creativedna.co.ug> > > @Google Plus <https://plus.google.com/+ChrispinusOnyancha> , @LinkedIn > <http://ug.linkedin.com/in/ChrispinusOnyancha>, @Tweeter > <https://twitter.com/Chrisp_onyanx> > > > <https://play.google.com/store/apps/details?id=com.creativeDNA.ntvuganda&rdid=com.creativeDNA.ntvuganda&rdot=1&feature=md> > > > On Wed, Nov 4, 2015 at 10:13 PM, Eric Bidelman <[email protected]> wrote: > >> document.querySelector will look for elements in the main document. You >> want to look for my-element inside of your element's shadow dom. >> >> Polymer.dom(this.root).querySelector('my-element') or better yet, put an >> id on my-element and use node finding. >> >> >> https://www.polymer-project.org/1.0/docs/devguide/local-dom.html#node-finding >> >> On Tue, Nov 3, 2015 at 10:26 PM Chrispinus Onyancha < >> [email protected]> wrote: >> >>> http://plnkr.co/edit/wkFOzB1Dyjd16SaMJV6S?p=preview Please help me >>> understand what could be the issue with this? >>> >>> I want to call the method add from the parent element. >>> >>> <dom-module id="my-one"> >>> <template> >>> <my-element></my-element> >>> </template> >>> </dom-module> >>> <script> >>> >>> Polymer({ >>> is: 'my-one', >>> properties: { >>> >>> }, >>> ready:function(){ >>> var element = document.querySelector('my-element'); >>> console.log(element.add(2,7)); >>> >>> } >>> }); >>> >>> >>> </script> >>> >>> >>> And the my-element looks like this. >>> >>> >>> <base href="http://element-party.xyz"> >>> <script >>> src="bower_components/webcomponentsjs/webcomponents-lite.js"></script> >>> <link rel="import" href="all-elements.html"> >>> >>> <script> >>> var cast = window.cast || {}; >>> (function () { >>> 'use strict'; >>> var Element = Polymer({ >>> is: 'my-element', >>> properties: { >>> >>> }, >>> add:function(one, two){ >>> return one+two; >>> } >>> }); >>> Elemet.ValueX ={name: "Chris"}; >>> cast.Element = Element; >>> })(); >>> >>> </script> >>> >>> >>> 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/d731e875-f2f5-4270-b473-05591787c5e4%40googlegroups.com >>> <https://groups.google.com/d/msgid/polymer-dev/d731e875-f2f5-4270-b473-05591787c5e4%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> > 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/CADw0wkPEASG6NvnP3oExLY5HC4q4izPwhEmuNw4D%3Dtd5H9LcnA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
