Hi,

I've e.g. a custom element with two attributes: who, where
<polymer-element name="hello-world" attributes="who where">
...

I'm now creating the element with
var hello = document.createElement('hello-world');

and I now need to know that my var hello has two attributes: "who where"

I unfortunately was not able to find a way to get this information. Did I 
miss something? 

I've created a basic sample at http://jsbin.com/gadig/2/edit

Creating a metadata.html/x-meta seems to be a possible solution, but 
redundant / not DRY.


Martin

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/fc2845fd-de5e-4049-9324-427cc63985b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to