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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -