Hello,

I am migrating my app from Polymer 0.5 to 1.0. I have an element with an 
embed tag in it (used to communicate with a Native Client module actually).

<embed id="theThing" src="{{nmf}}" type="application/x-pnacl" 
on-load="loaded" on-message="receive">

In 0.5, I was able to use postMessage to communicate with this embed 
element like this:

this.$.theThing.postMessage()

In 1.0, it appears I can no longer access the postMessage method (it is 
undefined). I have tried multiple element selector variations:

Polymer.dom(this.$.theThing).postMessage(); //does not work
this.$$("#theThing").postMessage(); //does not work
Polymer.dom(this.root).querySelector("#theThing").postMessage(); //does not 
work

Is there a new way to access these sorts of methods? If this is described 
in the docs, I have missed it so far. Any thoughts would be appreciated.

Thanks,
Eric

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/a4acb0ab-765c-49f6-823c-66d1e1c76d3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to