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