Last Updated: February 25, 2016
·
294
· iaincampbell

Polymer selectors

Short notation won't work for dynamically-added elements:

assert($['my-element']==null); //True

Instead, use the full notation:

assert(shadowRoot.querySelector('#my-element')==null); // False