Linking 2 custom elements through parent
问题 I have 2 custom child elements that I am trying to pass data between through a parent element. My code in the parent html looks something like this: <dom-module id="parent-html"> <template> <child-elem1 id="ch1"></child-elem1> <child-elem2 id="ch2"></child-elem2> </template <script> window.addEventListener('WebComponentsReady', function() { class WebApp extends Polymer.Element { static get is() { return 'web-app'; } static get properties() { return { } } ready () { super.ready(); this.$.ch1