Polymer 1.0 : Bind to global element -
sometimes want "share" global element between other elements @ application level. example, data store or other api endpoint. possible , not anti-pattern bind polymer element polymer element? bind properties of elements each other, binding property element seems useful invoking api of element etc.?
for example:
<my-datastore id="my-ds"></my-datastore> <my-element datastore="{{my-ds}}"></my-datastore>
it's possible retrieve datastore element polymer dom api id, direct binding possible? (i've seen example of usage of $.my-ds
somewhere in polymer 0.5, doesn't seem work anymore in 1.0)?
Comments
Post a Comment