It looks like the `publish` object will have the stuff added to the element, so long as it's also either exposed in the attributes attribute, or part of the publish object itself.
http://jsbin.com/muwuv/6/edit On Tue, Jun 10, 2014 at 7:50 AM, Rob Dodson <[email protected]> wrote: > Follow up from Martin > --- > > Hi, > > > > > Were you trying to add your element to the tool? > > No. > > > > For some dynamic data binding in need to know which attributes are used by > an element. > > > > So it’s not about getting the value of who with > > hello.who > > > > But I’d like to get the attributes definition of a custom element like: > > <polymer-element name="hello-world" attributes="who where"> > > > > So I’m looking for something like > > hello.attributes > > or > > hello.polymer.attributes > > > > returning > > “who where” > > > > Is there any option to get this information? > > > > I’ve seen that the x-meta provides information about the properties of an > element. But it doesn’t feel “right” having to define that for objects > which won’t be used in the designer. > > > > 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/CAJj5OwAmcPnoiJHHufX%2BKyjw9%3D57Go-TKu_54CU612%2BQkkNz4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
