observeNodes for distributed content
问题 Let's say I have an element that has an insertion point inside. <dom-module id="some-el"> <template> <content id="con"></content> </template> <script> (function () { Polymer({ is: 'some-el', ready:function(){ var placeholder = Polymer.dom(this).querySelector('div[id*="placeholder"]'); this._observer=Polymer.dom(placeholder ).observeNodes(function(info){ console.log(info.addedNodes) }); } }); })(); </script> </dom-module> and in DOM it looks like this where #placeholder... is a spinning wheel